Site logo

Archived topic

images are smaller when using product shortcode on home page with GP container

3 replies · Started by Sarah on October 6, 2022

Viewing posts 1–4 of 4

Hello,

I cannot work out why the image swatches are smaller- or rather what CSS is doing it

Using wombat product quantity manager plugin - which is working really well on the product page - however when I pull it into the home page as a shortcode - the swatch images are smaller - just the image itself

I am using containers and of course GP pro, blocks etc and I cannot work out which style/css is causing this to happen so that I can undo it

can anyone help point me in the right direction?

Sorry if its not a GP issue though

Thanks Sarah

Hi there,

that plugin is setting those images max-width to 80px.
On the Woo pages that gets overwritten as Woos has more specific CSS that sets the image max-width to 100%.

try this to fix that on all pages:

.wqm-qty-wrapper .wqm-img-swatch img {
    max-width: 100%;
}

You total star David - thank you that worked perfectly!

Glad to be of help!

This archived topic is closed to new replies.