WordPress.org

Ready to get started?Download WordPress

Forums

Hiding Elements on POSTS Page (2 posts)

  1. ianbee
    Member
    Posted 1 year ago #

    I'm looking to hide certain elements on my posts page. My front page is a static page and then my blog / posts page is a page called news. I tried a few things but nothing worked. Here is what I tried:

    .home #slideshow {
    	display:none;
    }

    This hid the slideshow div on the front page, not the posts page.

    .news #slideshow {
    	display:none;
    }

    I thought this would work since the page my blog is on is titled "news". But, no luck.

    .page-id-14 #slideshow {
    	display:none;
    }

    My posts / news page's ID is 14. This did not work.

    So how do you hide certain elements on your posts / blog page, if your front page is a static page and your blog page is being fed through a different page (mine is called news)?

  2. Good Guy
    Member
    Posted 1 year ago #

    What is the full address of your site? Without the site address it is impossible to help.

Topic Closed

This topic has been closed to new replies.

About this Topic