Account Page Product Images Gap…………………….

This topic has 6 replies, 3 voices, and was last updated 6 months, 1 weeks ago ago by Andrew Mitchell

  • 5 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    April 8, 2024 at 08:49

    Hi @Ajaz,

    Please add this custom CSS:

    
    .content-product .product-content-image {
        min-height: auto;
    }
    

    Hope it helps!

    Avatar: Ajaz
    Ajaz
    Participant
    April 8, 2024 at 09:08

    Fab, that has worked but the text below the image is left aligned, how can I centre this?

    Avatar: Justin
    Luca Rossi
    Support staff
    April 8, 2024 at 09:56

    Hi @Ajaz,

    We’ve just updated the previous CSS for your shop page a little bit to make it works on My Account page aslo:

    
    .woocommerce-page .content-product .product-content-image,
    .woocommerce-shop .content-product .product-content-image,
    .woocommerce.archive .content-product .product-content-image,
    .single-product .content-product .product-content-image {
        width: 300px !important; /* Adjust the width as needed */
        height: auto; !important;
        margin: 0 auto;
        overflow: hidden;
    }
    .woocommerce-page .content-product .products-page-cats,
    .woocommerce-shop .content-product .products-page-cats,
    .woocommerce.archive .content-product .products-page-cats,
    .single-product .content-product .products-page-cats {
        padding-right: 0 !important;
    }
    .woocommerce-page .product-details .product-view-light .light-left-side,
    .woocommerce-page .content-product h2.product-title,
    .woocommerce-page-shop .content-product .products-page-cats,
    .woocommerce-page .content-product .price,
    .woocommerce-shop .product-details .product-view-light .light-left-side,
    .woocommerce-shop .content-product h2.product-title,
    .woocommerce-shop .content-product .products-page-cats,
    .woocommerce-shop .content-product .price,
    .single-product .product-details .product-view-light .light-left-side,
    .single-product .content-product h2.product-title,
    .single-product .content-product .products-page-cats,
    .single-product .content-product .price,
    .woocommerce.archive .product-details .product-view-light .light-left-side,
    .woocommerce.archive .content-product h2.product-title,
    .woocommerce.archive .content-product .products-page-cats,
    .woocommerce.archive .content-product .price {
        text-align: center;
    }
    @media (max-width: 480px){
        .woocommerce-shop .content-product .product-content-image,
        .single-product .content-product .product-content-image,
        .woocommerce.archive .content-product .product-content-image {
            width: 94% !important;
        }
    }
    

    Can you please check now?

    Thank you!

    Avatar: Ajaz
    Ajaz
    Participant
    April 8, 2024 at 10:40

    Fab, this has worked.

    Thanks, Luca.

    Topic resolved.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 8, 2024 at 10:40

    Dear Ajaz,

    As we continue our mission to exceed expectations, your insights become increasingly valuable. Could we, with all due respect, request your thoughtful feedback by giving our theme a deserved 5-star rating on ThemeForest?

    Click here to share your valuable perspective: https://themeforest.net/downloads

    Your time and trust are highly appreciated!

    Best Regards,
    The 8Theme Team

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Account Page Product Images Gap…………………….’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.