Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1369796
    opfishhunt
    Participant

    Hi there,

    Building out an e-commerce site using WooCommerce and on the shop page, as well as other places round the site where product multiple products are shown, I’d like for them to all be the same size.

    How can I go about doing this? Currently using the Integrity Stack if that’s any help.

    #1370019
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    Could you please provide us with your website URL so we can take a closer look?

    Thanks.

    #1370476
    opfishhunt
    Participant
    #1370627
    Joao
    Moderator

    Hi There,

    The best would be to upload all the images with the same size. That is the most clean and effective solution.

    Use a software like photoshop or similar to edit your images.

    Hope it helps

    Joao

    #1370759
    opfishhunt
    Participant

    Thanks! Is there any other way to force the images to scale within the template? Already have thousands of products and images on the backend of the site and it will be replicating months worth of effort to reprocess and upload all the images.

    #1370815
    Nabeel A
    Moderator

    Hi again,

    Try adding the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:

    .woocommerce li.product .entry-featured img {
        min-height: 250px !important;
        max-height: 250px !important;
    }

    Let us know how this goes!

    #1370922
    opfishhunt
    Participant

    Awesome, that worked.

    Thanks!

    #1370924
    opfishhunt
    Participant

    Also, not sure to ask in a separate thread or here, but slightly related I guess. What if I wanted all the cards displayed to be the same size. As in say a product had more than x amount of characters then it would be truncated so all the cards are the same site?

    #1371436
    Christopher
    Moderator

    Hi there,

    We don’t recommend you to fix the height of card elements. Please provide us with URL of page in question.

    Thanks.

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