WordPress.org

Ready to get started?Download WordPress

Forums

Liquorice
[resolved] Customizing Category Page (13 posts)

  1. Angela
    Member
    Posted 2 years ago #

    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/

  2. sacredpath
    Moderator
    Posted 2 years 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.

  3. Angela
    Member
    Posted 2 years ago #

    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

  4. sacredpath
    Moderator
    Posted 2 years ago #

    Have you edited any of the PHP files?

  5. sacredpath
    Moderator
    Posted 2 years ago #

    Could we have a link to the site you are talking about so that we could take a look?

  6. Angela
    Member
    Posted 2 years ago #

    hosting.ceztilin.com/catzgory/kb/ (swap z for e)

  7. sacredpath
    Moderator
    Posted 2 years ago #

    Not getting in, my browser can't find it with a e or a z

  8. Angela
    Member
    Posted 2 years ago #

    sorry, hosting.czntilin.com/catzgory/kb/

  9. sacredpath
    Moderator
    Posted 2 years 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?

  10. Angela
    Member
    Posted 2 years ago #

    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.

  11. sacredpath
    Moderator
    Posted 2 years ago #

    Find #primaryContent h1.postTitle, #primaryContent h2.postTitle in your CSS and delete the display: none; from that rule.

  12. Angela
    Member
    Posted 2 years ago #

    Sorry, it was under my nose all the time, and I didn't even notice it. :(

  13. sacredpath
    Moderator
    Posted 2 years ago #

    You are welcome and glad its sorted out.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags