Home Forums WoodMart support forum FILTER BY BRAND image is being cropped

FILTER BY BRAND image is being cropped

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

    techiebraj
    Participant

    Hi,

    On the shop page “FILTER BY BRAND” image is being cropped, why?

    Thanks!

    #412411

    Hello,

    Sorry to say but we have checked the FILTER BY BRANDS on the Shop page of your Site and the Images in it were appearing fine, they weren’t cropped. Please see the following GIF in this regard depicting the view right now: https://www.veed.io/view/3f5675c4-6614-4efc-9f05-ac3f65df8cc3/

    Best Regards.

    #412462

    techiebraj
    Participant

    Hi,

    Because I manually fixed it by adding below CSS:-

    /*Fix Filter Image Issue*/
    .wd-swatch-bg {
        height: auto !important;
    }

    Wasn’t it supposed to be height: auto by default in the theme?

    Thanks!

    #412561

    Hello,

    The Height and Width by default is set to 100% as you know in this so that the Brand Images uploaded here would cover up the whole area. As you want it a bit differently, so it possesses the capability to be changed with help of CSS, which you have achieved. That’s why it has been set as 100% Height so that some might want it to appear big and some want it to appear as contained.

    Hope you can understand !

    Best Regards

Tagged: 

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