Disable Slider on Mobile

Home Forums All Other Themes Disable Slider on Mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #192476
    Peter BorgPeter Borg
    Participant
    • Topics: 1
    • Replies: 1
    • Total: 2
    Member since: March 10, 2022

    Is it possible to disable the slider on mobile for the yacht WP theme? and possibly have a hero banner image instead?

    my site is https://www.cominoferryservice.com/

    #192496
    Forum ModeratorForum Moderator
    Moderator
    • Topics: 0
    • Replies: 28703
    • Total: 28703
    Member since: August 16, 2013

    Hi,

    Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:

    @media screen and (max-width:479px) {
    #home_slider {
      position: relative;
      height: 200px;
      background-image: url("https://www.cominoferryservice.com/wp-content/themes/yacht-cruise/images/slides/slider1.jpg");
      background-size: 100%;
    }
    .slider-main {
      display: none;
    }
    }

    Regards,
    Dave

    #192524
    Peter BorgPeter Borg
    Participant
    • Topics: 1
    • Replies: 1
    • Total: 2
    Member since: March 10, 2022

    thanks, that worked

    #192532
    Forum ModeratorForum Moderator
    Moderator
    • Topics: 0
    • Replies: 28703
    • Total: 28703
    Member since: August 16, 2013

    Hi,

    If you found our service good kindly review us here: https://www.trustpilot.com/review/sktthemes.org

    Regards,
    Dave

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.