Promo popup - by raz123 - on WordPress WooCommerce support

This topic has 7 replies, 2 voices, and was last updated 7 years, 7 months ago ago by Rose Tyler

  • Avatar: raz123
    raz123
    Participant
    May 7, 2017 at 18:57

    Hi,
    How do I disable the promo popup in the mobile version?

    6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 8, 2017 at 15:07

    Hello,

    You can add this code in Custom css:

    @media (max-width: 480px) {
    .mfp-wrap.mfp-auto-cursor.mfp-ready {
        display: none;
    }
    .mfp-bg.mfp-ready {
        display: none;
    }
    }

    How to create custom.css you can watch in this tutorial https://www.youtube.com/watch?v=Qok2zRedRMY.

    Regards,
    Rose Tyler.

    Avatar: raz123
    raz123
    Participant
    May 11, 2017 at 23:22

    The code works only on a home page.
    When you move to other pages the window pops up again.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 12, 2017 at 14:41

    Hello,

    Oh I see, please use this code:

    @media only screen and (max-device-width: 480px) {
     .mfp-bg, .mfp-wrap {
      display:none;
     }
    }

    Regards,
    Rose Tyler.

    Avatar: raz123
    raz123
    Participant
    May 13, 2017 at 22:07

    Thanks. It worked great!

    Avatar: raz123
    raz123
    Participant
    May 13, 2017 at 22:08

    Is there a way to tell the window to appear only on the home page?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 15, 2017 at 11:58

    Hello,

    You’re welcome!
    Unfortunately, there is no such option to shown popup only on a home page.
    Sorry for inconveniences.

    Regards,
    Rose Tyler.

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

You must be logged in to reply to this topic.Log in/Sign up

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