Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1169325
    outfitarena
    Participant

    Hi,

    The photos on the right are too big, so I resize them through css code. But I need the red one to stay the same. Is that possible?? I mean, can I manage it separately from others?

    Thanks in advance!!

    #1169327
    outfitarena
    Participant
    This reply has been marked as private.
    #1169393
    Thai
    Moderator

    Hi There,

    Please add the following CSS:

    .woocommerce div.product .summary img {
        max-width: 150px
    }
    
    .woocommerce div.product .summary img.wp-image-143 {
        max-width: 100%;
    }

    Hope it helps 🙂

    #1169417
    outfitarena
    Participant
    This reply has been marked as private.
    #1169801
    Christopher
    Moderator

    Hi there,

    Please update previous code to :

    .woocommerce div.product .summary img {
        width: 150px;
        height: 150px;
    }

    Hope it helps.

    #1169814
    outfitarena
    Participant
    This reply has been marked as private.
    #1169950
    Rue Nel
    Moderator

    Hello There,

    If you want to exclude the red image, you can use this code instead:

    .woocommerce div.product .summary img:not(.wp-image-143) {
        width: 150px;
        height: 150px;
    }

    Please let us know if this works out for you.

    #1170005
    outfitarena
    Participant

    It worked perfect, thank you, guys!!!

    #1170027
    Thai
    Moderator

    Glad it worked 🙂

    If you need anything else please let us know.

  • <script> jQuery(function($){ $("#no-reply-1169325 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>