Remove arrow and pause buttons from slideshow on the homepage

  • Unknown's avatar

    Hello,

    How can I remove/hide the pause and arrow buttons from the slideshow on homepage?

    The theme I’m using is Tortuga.

    Many thanks,
    Enrico

  • Hi Enrico, it look like you’re using a post slider block. If your plan supports it, you can use this CSS to hide the controls:

    button.swiper-button.swiper-button-prev, button.swiper-button.swiper-button-next, button.swiper-button.swiper-button-pause {
        display: none;
    }

    Let us know if you need more help!

  • Unknown's avatar

    Hello,

    Thank you very much for your support.

    This code is not working.

    Prior, I tried with the following codes that I found on the Forum, but they didn’t work bevause they were meant to a them different from Tortuga:

    REMOVE ARROW BUTTON

    .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next, .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev {
    display: none !important;
    }

    .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next, .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev {
    display: none !important;
    }

    REMOVE PAUSE BUTTON

    .wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause {
    display: none !important;
    }

    I hope this information can be of help to find a solution.

    Many thanks again!
    e.

  • Unknown's avatar

    It looks like the theme is overriding the CSS that supernovia provided.

    It will work if you change it to:

    display: none !important;

    That should do it! Let us know if you still have trouble.

  • Unknown's avatar

    It’s working! Thanks very much!

    e.

  • The topic ‘Remove arrow and pause buttons from slideshow on the homepage’ is closed to new replies.