Add to cart popup on the mobile version – disable

This topic has 2 replies, 2 voices, and was last updated 1 years, 2 months ago ago by Tony Rodriguez

  • Avatar: trich
    trich
    Participant
    February 15, 2023 at 03:39

    Hi, it’s me… again. 😀

    I set up a pop-up cart on my website instead of the off-canvas one. How do I disable it on mobile only?
    I tried the custom mobile CSS .mfp-zoom-out.mfp-ready.mfp-bg {display: none;} and popup cart content disappeared but I have still something popping up as if there was still a window with a semi-transparent background that disappears on a screen tap.

    Happy Valentine’s Day!
    Timea

    1 Answer
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    February 15, 2023 at 07:34

    Hello @trich,

    We suggest that you copy and paste the following CSS code into XStore >> Theme Options >> Theme Custom CSS >> Global CSS and then clear the mobile browser cache.

    @media(max-width: 767px){
    .mfp-bg.mfp-zoom-out.mfp-ready {
        display: none !important;
    }
    .mfp-wrap.mfp-close-btn-in.mfp-auto-cursor.mfp-zoom-out.mfp-ready {
        display: none !important;
    }
    }

    We hope this will resolve your issue.

    Best Regards,
    8Theme’s Team

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

The issue related to '‘Add to cart popup on the mobile version – disable’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

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