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

Home Forums Support [Resolved] images are smaller when using product shortcode on home page with GP container

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

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

    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

    #2365122
    David
    Staff
    Customer Support

    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%;
    }
    #2365148
    Sarah

    You total star David – thank you that worked perfectly!

    #2365394
    David
    Staff
    Customer Support

    Glad to be of help!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.