Home Forums WoodMart support forum How do I change the size of the image swatches?

How do I change the size of the image swatches?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #133090

    radekcho
    Participant

    Is a code snippet that I place into Custom CSS area in Theme Settings to change sizes for variation swatches images on the product page:

    .swatches-select .image-swatch {
    
        width: 75px;
        height: 75px;
    }

    However, it does not work. Can you help?

    Attachments:
    You must be logged in to view attached files.
    #133104

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    /*product page*/

    body .swatches-select .colored-swatch, 
    body .swatches-select .image-swatch {
        width: 75px;
        height: 75px;
    }

    /*product grid*/

    body .swatches-on-grid .swatch-on-grid {
    	    width: 25px;
        height: 25px;
    }

    Best Regards

    #133107

    radekcho
    Participant

    It works. Thank you.

    #133143

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How do I change the size of the image swatches?’ is closed to new replies.