Hiding Elements on POSTS Page
-
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)?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Hiding Elements on POSTS Page’ is closed to new replies.