Remove arrow and pause buttons from slideshow on home page
-
Hi,
How can I remove/hide the pause and arrow buttons from the slideshow on homepage?And how do I also remove the slight grey frame behind the pictures, so the background is completely white for the homepage slideshow?
The website I need help with is hariscoussidis.com
Many thanks
HarisThe blog I need help with is: (visible only to logged in users)
-
Hi @ hariscoussidis,
Please put below CSS in to My Sites > Customise > Additional CSS
How can I remove/hide the pause and arrow buttons from the slideshow on homepage?
.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; }And how do I also remove the slight grey frame behind the pictures, so the background is completely white for the homepage slideshow?
.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide { background: White; }I hope it works.
-
When posting code for people, please make sure you wrap it in backticks so it displays properly in the forum. I’ve updated your comment above to add those.
-
Hi, thanks for these. But I’m not clear about the first CSS code you posted. Do I copy paste the lot? Because it looks like the same code posted twice.
Thanks
Haris -
I think @khushbudesaiblog just did that by accident. You can just use one set from the first block of code, though the way CSS works posting duplicates shouldn’t actually have any effect.
-
Ok, so the arrows are gone, but the pause button is still there. As are the small indicate circles at the bottom of the picture slide show. How do I get rid of these?
Cheers
Haris -
Hi there,
Below code is for the pause button.
.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause {
display: none !important;
}Below code is for hiding small circles at the bottom.
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets {
display: none;
} -
Thank you!! It worked!!!
One last thing that I just realised. There seems to be a scroll bar on the right hand side of the homepage. How can that be removed?
Many thanks again
Haris -
Haris, this might help:
@media screen and ( min-width: 1120px ) and ( min-height: 768px ) { .home, .home .content { overflow-y: hidden; } }The scroll bars will still be there on smaller screens, just in case someone needs to use them. Also, this only removes them from the home page.
-
- The topic ‘Remove arrow and pause buttons from slideshow on home page’ is closed to new replies.