Viewing 2 replies - 1 through 2 (of 2 total)
  • Here is a solution. In your WordPress admin screen, go to Plugins > Editor > Sliding Widget. Choose the .php for whatever slider you are using. For instance, I am using a slider on the right hand side. So I choose sliding-widgets/tpls/right_css.php.

    At the very top add:

    <?php if (!wp_is_mobile()) : ?>

    At the very bottom add:

    <?php endif; ?>

    Now it won’t show up on mobile!

    If you want it by pixels, you could also use:

    @media (max-width: 768px) {
    .sticky-social {
    display: none;
    }
    }

    This is still showing up on the iphone… tried both of the above solutions. Please advise.

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