• Resolved iulianionescu

    (@iulianionescu)


    Hi,

    What is the easiest way to hide or prevent the banner from appearing on mobile devices? Or, at least, to hide it via CSS when the screen is too small?

    Thank you!

    Iulian

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP AutoTerms

    (@wpautoterms)

    If you’re referring to the Cookie Notice banner, then you can:

    1. Go to Compliance Kits
    2. Go to Cookie Notice
    3. Add the following code at Custom CSS:

    @media only screen and (max-width: 600px) {
      .wpautoterms-cookies-notice {
        display: none;
      }
    }

    The same is true for all the other Compliance Kits:

    – For Links to Legal Pages, replace .wpautoterms-cookies-notice with .wpautoterms-footer
    – For Updates to Legal Pages, replace .wpautoterms-cookies-notice with .wpautoterms-update-notice-placeholder

    I hope this works for you! If not, let me know.

    • This reply was modified 4 years, 5 months ago by WP AutoTerms.
    Thread Starter iulianionescu

    (@iulianionescu)

    Thank you! That is exactly what I needed!

    I appreciate it,

    Iulian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide on mobile’ is closed to new replies.