Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #56288
    JDC
    Participant

    Could you supply the custom css for changing color of the titles and headers associated with posts: both the post titles themselves and the page header on a page with a given category of posts?

    I have the following code on my test site that takes care of page and widget headers, but it’s not working for posts.

    .entry-header, .widget-title, .entry-title{
    color: #604187;
    }

    See especially the following pages:

    http://everygoodgift.org/wptest/category/news/
    http://everygoodgift.org/wptest/category/events/

    #56337
    Sakin
    Keymaster

    @JDC: You can add the following css in “Appearance => Customize => Theme Options => Custom CSS Options” box:

    .entry-title, .entry-title a {
        color: #604187;
    }
    #56342
    JDC
    Participant

    Thank you.

    That takes care of post titles, but not the “page title” of the Category “page” that gets generated from the menu.

    By the way, could you explain the difference between the two css statements below?

    .entry-header, .widget-title, .entry-title{
    color: #604187;
    }

    .entry-title, .entry-title a {
    color: #604187;
    }

    Joe

    #56361
    Sakin
    Keymaster

    @JDC: For category page title, you can add the following css:
    .page-header .page-title { color: #604187}

    I don’t know how to explain difference. It’s totally different elements.
    .entry-header is for header element
    .widget-title is for widget title
    .entry-title if for page/post title

    where as
    .entry-title, .entry-title a is for page/post title with link or without link

    #56369
    JDC
    Participant

    Thank you again. That did it.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Change font color off the post titles’ is closed to new replies.