CAROUSEL: Show page numbers for specific sites only
-
-
i will need to add this as a feature, to be able to show hide captions and numbers on a per carousel basis
but u can hide them with css. first find the body selector / body slug for your frontpage:
https://laytheme.com/documentation/custom-css-styling.html#css-based-on-current-pagethen
body.slug-home .numbers{ display: none!important; } -
-
-
Hey, i had the same question, but the css code above didnt work out
but this did it (idk why :D)
.slug-home .lay-carousel-caption-under-slide-number{
display: none !important;
}@jj7ks hey you need to change the word 'home' to the name of your page which has the carousel in it.
i.e if your carousel is in a page called 'photos' it would be:
.slug-photos .lay-carousel-caption-under-slide-number{
display: none !important;
} -
Hey @alasdair17
yes i know, i changed my page-name here to "home" to reference armin's code -
Hey @alasdair17
yes i know, i changed my page-name here to "home" to reference armin's code@jj7ks did you update the permalink as well?
-
your css selector is different because your numbers are under each slide, because you chose these settings:

the css selector is different than without those settings enabled
eventually i'll need to add more settings to the carousel to be able to hide/show numbers on a per-carousel basis i think
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login