Forums

[resolved] [Theme: Liquorice] Customizing Category Page (13 posts)

  1. angelazou
    Member
    Posted 5 months 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
    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.

  3. angelazou
    Member
    Posted 5 months 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
    Member
    Posted 5 months ago #

    Have you edited any of the PHP files?

  5. 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?

  6. angelazou
    Member
    Posted 5 months ago #

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

  7. sacredpath
    Member
    Posted 5 months ago #

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

  8. angelazou
    Member
    Posted 5 months ago #

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

  9. 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?

  10. angelazou
    Member
    Posted 5 months 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
    Member
    Posted 5 months ago #

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

  12. angelazou
    Member
    Posted 5 months ago #

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

  13. sacredpath
    Member
    Posted 5 months ago #

    You are welcome and glad its sorted out.

Reply

You must log in to post.

About this Topic

Tags