Hide slider category in posts

Hi,
I have a category for the slider called ‘slider-only’. When you are reading the posts it then offers at the bottom of the page to see this post. I have removed a title from the post but have had to add a hyphen. You can see the problem, at the bottom of this page.

I have tried hiding it using the following CSS:

.category-slider-only {
display: none;
}
li.cat-item.cat-item-13 {
display: none;
}

Please can you let me know what I should do. I want to have the slider images completely separate from the news.

Thanks.

Hi @littleseed,

I hope you are well today and thank you for your question.

Could you please share me the page URL from your site where it’s displaying so that i can help you to remove it?

Best Regards,
Movin

You can see the link at the bottom of this page. I have tried to make it less obvious by naming the slider post page with a hyphen. So you just see - > at the bottom of the page now, but I would still like to remove this.

many thanks

You can hide that link completely by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Activello Options -> Other -> Custom CSS


.post-navigation a[href*="/slider-images/"]{
	display: none;
}

You can exclude slider posts appearing anywhere on the site by developing custom code as developed here https://colorlibsupport.com/t/suppress-slider-on-posts-page/#post-24989 https://colorlibsupport.com/t/exclude-slider-category-on-home-page-and-post-page/

Also you can use pages for the slider instead of posts by developing solution as described here https://colorlibsupport.com/t/slider-for-pages/#post-33351

Thanks very much Movin - the custom CSS did the trick.
Will that CSS be overwritten wheneve I update the theme?

thanks again for your help.

You are most welcome here :slight_smile:

Will that CSS be overwritten wheneve I update the theme?

No it won’t be overwritten.

I want to do this, but under activello options I only have Layout, Content, and Slider options. Where can I enter this CSS?

@marclais To help us keep support thread separates could you please create your own thread for your question here https://colorlibsupport.com/c/activello/ instead of replying on others thread as it makes the thread messy and hard to read.

If you want to you can also add reference of this thread in your newly created thread.

We would be more than happy to help you on your new thread.