I noticed that the page of posts (or the category page containing all the posts) doesn't have the post title. I know that I should modify the archive.php, but the page title is always not available.
I thought it might have something to do with how I previous hide a title using display:none, but even if I set it to only target the page, titles on other pages are not showing. The following is the CSS specifically used to target that page. Otherwise, I didn't modify other aspects of the CSS files.
.page-id-2 #primaryContent h1.postTitle,
.page-id-2 #primaryContent h2.postTitle {
display: none;
}
Angela
http://wordpress.org/extend/themes/liquorice/
sacredpath
Member
Posted 5 months ago #
Using Firebug on the demo site for liquorice and using the code you have above, the post titles on category pages do not disappear, so there has to be something else that is causing this.
Yes, I can see the title in the HTML, so it's a CSS issue. But I've even deleted the CSS, and it still hasn't showed up. Could this be a coding issue?
Angela
sacredpath
Member
Posted 5 months ago #
Have you edited any of the PHP files?
sacredpath
Member
Posted 5 months ago #
Could we have a link to the site you are talking about so that we could take a look?
hosting.ceztilin.com/catzgory/kb/ (swap z for e)
sacredpath
Member
Posted 5 months ago #
Not getting in, my browser can't find it with a e or a z
sorry, hosting.czntilin.com/catzgory/kb/
sacredpath
Member
Posted 5 months ago #
In style.css I'm seeing display: none; on #primaryContent h1.postTitle, #primaryContent h2.postTitle
Are you editing the CSS directly or did you create a child theme?
I'm editing it directly, but I've specifically targeted the page with ID of 2. In addition, I've commented them out, they shouldn't be working now.
I will delete the styles.
sacredpath
Member
Posted 5 months ago #
Find #primaryContent h1.postTitle, #primaryContent h2.postTitle in your CSS and delete the display: none; from that rule.
Sorry, it was under my nose all the time, and I didn't even notice it. :(
sacredpath
Member
Posted 5 months ago #
You are welcome and glad its sorted out.