All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

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.


    # 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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed