Different colors for different post titles (3 posts)

  1. hobs707
    Posted 3 years ago #

    I put code in the theme CSS to make the title of the 3 different categories different colors. It worked fine at first, but then after a new post, they all changed. Then another post and they changed again! I can't figure it out and it's driving me insane :( Help would be amazing.

    Here is the site.

    Here is the code I put in the CSS that worked at first.

    .category-live h1 a {color: #f0b044;}
    .category-think h1 a {color: #F2775C;}
    .category-crave h1 a {color: #267aa1;}
    .category-uncategorized h1 a {color: #000;}
  2. Looked fine when I visited just now. When you say they changed, what do they change to? When they change again, what happens that time?

    As I said, looks like the CSS is working, so not sure what to say...

  3. Michael
    Forum Moderator
    Posted 3 years ago #

    there seems to be some wrong div in your code:

    <!-- END header -->
    <div id="post-470" class="post-470 post type-post status-publish format-standard hentry category-crave">

    also reflected in the validation report:

    the css classes of that div interfere with the css classes of your post list.

    please contact the theme's developer for support.

    this forum does not support commercial themes.

Topic Closed

This topic has been closed to new replies.

About this Topic