Grow your CSS skills. Land your dream job.

Stop aweber lightbox showing for mobile users

  • # December 31, 2012 at 4:40 pm

    Hi all – Happy New Year!

    I am using the aweber lightbox and am displaying it once readers have been on my site 30 seconds.

    Is there an easy way to stop it showing when someone is visiting the site from their phone? Detect screen solution and if less than … don’t show?

    I am just using the copy and paste code from aweber currently. I’m using wordpress.

    Thanks!

    # December 31, 2012 at 4:44 pm

    @media (max-width: XXXpx) {
    .lightbox-element-class { display: none; visibility: hidden; }
    }

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".