Show product thumbnail on mobile in /cart page

Home Forums Jevelin Theme Show product thumbnail on mobile in /cart page

Home Forums Jevelin Theme Show product thumbnail on mobile in /cart page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    RESOLVED Posts
  • sleenie93
    Participant

    Hello there Shufflehound,

     

    Is there any option to activate the product thumbnails in the /cart page on mobile devices? The thumbnail is showing on a regular screen, but not on a mobile phone or other small device.

     

    Thanks in advance.

    Hi @sleenie93,

     

    I hope you are well today and thank you for your question.

     

    Could you please share me the page URL from your site where it is not displaying on mobile devices so that i can troubleshoot it?

     

    Best regards,
    Shufflehound team

    sleenie93
    Participant

    Hello Shufflehound,

     

    The page URL is:

    https://www.detoxshop.nl/cart/

     

    But when I look to your official theme page, it’s not showing either:

    https://jevelin.shufflehound.com/shop/cart/

     

    It’s only on mobile devices where it’s not showing.

    You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    @media (max-width: 768px){
    .woocommerce #content table.cart .product-thumbnail,
    .woocommerce table.cart .product-thumbnail,
    .woocommerce-page #content table.cart .product-thumbnail,
    .woocommerce-page table.cart .product-thumbnail {
        display: block !important;
    }
    .woocommerce #content table.cart .product-thumbnail img,
    .woocommerce table.cart .product-thumbnail img,
    .woocommerce-page #content table.cart .product-thumbnail img,
    .woocommerce-page table.cart .product-thumbnail img {
        max-width: 100% !important;
        float: none;
        display: table;
        margin: 0 auto;
    }
    }

    sleenie93
    Participant

    Thanks for your reply Shufflehound! It works now when I reduce the screen size on my PC screen. When I look on a mobile device the thumbnails aren’t showing. Do you know how to make them show on a mobile device?

     

    There are also 2 little dots in the cart page now. I attached an image below.

    Attachments:
    You must be logged in to view attached files.

    Solution for this topic

    Please try changing above shared CSS code as displayed below.

     

    @media screen and (max-width: 768px){
    .woocommerce #content table.cart .product-thumbnail,
    .woocommerce table.cart .product-thumbnail,
    .woocommerce-page #content table.cart .product-thumbnail,
    .woocommerce-page table.cart .product-thumbnail {
        display: block !important;
    }
    .woocommerce #content table.cart .product-thumbnail img,
    .woocommerce table.cart .product-thumbnail img,
    .woocommerce-page #content table.cart .product-thumbnail img,
    .woocommerce-page table.cart .product-thumbnail img {
        max-width: 100% !important;
        float: none;
        display: table;
        margin: 0 auto;
    }
    .woocommerce #content table.cart .product-thumbnail::before,
    .woocommerce table.cart .product-thumbnail::before,
    .woocommerce-page #content table.cart .product-thumbnail::before,
    .woocommerce-page table.cart .product-thumbnail::before {
        display: none !important;
    }
    }

    sleenie93
    Participant

    You are amazing. Thanks for the good support! Perfect.

    You are always welcome here 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form