I need to show Ethos Post Carousel only on the home page

Hey there,
I need to show Ethos Post Carousel only on the home page, How to hide ethos post carousel on a single blog post?

Hey @oachour,

Because there’s no option to remove the Ethos Carousel on single posts, a quick solution to this would be to hide the carousel using custom CSS. Add the following code in Theme Options > CSS.

.single .x-post-carousel {
    display: none;
}

The best thing to do for this though is to override the Ethos Carousel template. This requires WordPress theme modification knowledge though so it’s best that you hire a developer to do this for you.

The template you need to override is _post-carousel.php and that’s located in wp-content\themes\pro\framework\legacy\cranium\headers\views\ethos.

If you’ll be overriding the template on your own, you can use this guide https://theme.co/docs/best-practices

Please just note that we do not provide support for customizations, if you’ll encounter a problem with custom codes, please forward the issue to a 3rd party developer.

Hope that helps and thank you for understanding.

1 Like

thank you the CSS code works fine

You’re welcome!
We’re glad @Christian ere able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.