Disable Slider on Mobile

  • Author
    Posts
  • #49282

    Hi,
    The slider looks great on a computer, but not on a laptop. How can I turn the slider off on the mobile version of the site?
    Thank you,
    Dena

    Website: www.thetraveldiet.com

    #49399
    Zed
    Cryout Creations mastermind

    You could hide the slider with CSS:

    @media (max-width: 800px) {
          #frontpage .slider-wrapper { display: none; }
    }

    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #49434

    Thanks Zed. It didn’t work. I went into additional CSS and added:/*
    @media (max-width: 800px)
    #frontpage .slider-wrapper {display: none;}
    */.

    What have I done wrong?

    Website: www.thetraveldiet.com

    #50211
    Zed
    Cryout Creations mastermind

    Are you missing the curvy brackets?


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Disable Slider on Mobile’ is closed to new replies.