Remove Page Titles, but not blog/post titles?
-
Using
.site-content-header-title { display: none; }removes the Archive title (page title) NEWS as I want it to.
But the other pages still show titles. So I then tried adding:.entry-header { display: none; }which works to hide page titles (which I want)
BUT also removes the post titles on my blog/news entries.Is there a way to hide only the page titles?
The blog I need help with is: (visible only to logged in users)
-
Hi Georgia,
Preceding .page to the code you came up with (great job there!) will hide the titles only from pages, without affecting posts.
Try this code, which is specific to only titles and doesn’t affect dates:
.page .entry-title { display: none; } -
Thank you SO much, ehtis!! That’s perfect :)
Now I just need to move the hero images (page headers) up beneath the navigation (as it is on the homepage template).
-
Ok, I’ve figured out how to move the header images up to the nav menu (finally) …
.layout-page-header .hero-image { top: 0; }Then shifted the page content up a bit more with
.layout-page-header .site-content-inside { padding-top: 0.45em; } -
- The topic ‘Remove Page Titles, but not blog/post titles?’ is closed to new replies.