Archived topic
How to remove Read More button from slider
5 replies · Started by Former User on March 3, 2020
Hello,
How I can remove "Read More" button from hero slider on first post showing in my case from girl with yellow background? So, it works like other sliders by clicking on title to access post.
Thanks,
Sara
Hi there,
Go to additional CSS field in the customizer and find this piece of CSS:
.wpsp-grid article:not(:first-child) .wp-show-posts-entry-summary, .wpsp-grid article:not(:first-child) .wp-show-posts-entry-meta-below-post, .wpsp-grid article:not(:first-child) .wpsp-read-more {
display: none;
}
Then remove all the :not(:first-child) part.
Hello Leo,
I had tried your solution but, it seems that it places "Read More" button in all entries from slider and I am looking to do exactly the oposite to remove it from all entries from slider. Is there other way to do this?
Thanks,
Sara
It definitely shouldn't.
When I tried it using chrome inspect, this is the result:
https://www.screencast.com/t/818buiTr
Can you make sure to replace this block:
.wpsp-grid article:not(:first-child) .wp-show-posts-entry-summary, .wpsp-grid article:not(:first-child) .wp-show-posts-entry-meta-below-post, .wpsp-grid article:not(:first-child) .wpsp-read-more {
display: none;
}
With this?
.wpsp-grid article .wp-show-posts-entry-summary, .wpsp-grid article .wp-show-posts-entry-meta-below-post, .wpsp-grid article .wpsp-read-more {
display: none;
}
Perfect solution Leo, thank you! :)
No problem :)