Resolved

Page Titles and Entry Header Hidden But Post Titles Not

Ultra Theme started by ememk Mar 19, 2021 3 replies
ememk Mar 19, 2021 · 4:35 pm #15493

I have used the following CSS to hide the page titles. I thought I could just unclick enable page titles in the page attributes, but that left a block of space at the top of every page. I don’t want the entry-header on pages, but I would like the post titles on both the posts and on the category pages. How can I accomplish that when using the following CSS doesn’t allow for any titles?

.entry-header {
display: none;
}

Andrew Misplon Puro Mar 20, 2021 · 10:37 am #15494

Hi, you can prefix the rule with .page to target pages.

.page .entry-header {
	display: none;
}
ememk Mar 20, 2021 · 2:21 pm #15497

Thank you. I should have thought of that.

Andrew Misplon Puro Mar 20, 2021 · 3:49 pm #15498

Glad to hear you’re making progress.

4 posts