• Resolved dunrie

    (@dunrie)


    Hi there,
    I’m testing evolve theme on a wordpress installation behind a password. The look and functions are just what I want…except one little thing ??

    I have set the front page to show a static page and the “news” page to show all posts. I love the slider and the featured content area on the homepage/front page. I wish they would not appear on the news/posts page (pushes the news below the fold). Is there any way to suppress the slider and featured content from the posts page?

    When I go to edit the “news” page within WordPress, the only options I see are choosing its parent (which affects the menu). And then I see post options (width, choose slider, widget options). I don’t see a way to toggle its template so it loses the parts that I only want on the Front/home page.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    You can use custom css to “hide” the bootstrap slider or content boxes from your posts page.

    In WordPress, the HTML body tag of posts page will have a css class called blog. This is unique and therefore we can use it without affecting other pages.

    In your WordPress admin Appearance -> Theme Options -> Custom CSS You can add the following codes.

    This following code will hide the bootstrap slider from posts page.

    .blog #bootstrap-slider{
    display:none;
    }

    This following code will hide the content boxes from posts page.

    .blog .home-content-boxes{
    display:none;
    }

    Hope this answers your question.

    If this does not solve your issue, please kindly provide url to your site, so that we can have a better understanding of your issues.

    Thanks!
    Denzel

    Thread Starter dunrie

    (@dunrie)

    Thanks Denzel!

    I was able to find a way to toggle the bootstrap slider in the UI (change the setting to make it manually toggle-able on each page and then I turned it off on the News/posts page).

    Your code helped me turn off the featured content on the News/posts page.

    I might make a child theme just to keep that code from being overwritten in a theme update.

    Thanks again!

    Dunrie

    Hi,

    You are welcome!

    Thanks!
    Denzel

    I see this appears to have been fixed on the latest theme revision.

    Thank you, you’ve saved me hours of work!

    Good luck with that! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove slider and featured content from posts page’ is closed to new replies.