[resolved] Entry-meta color in Category pages (3 posts)

  1. camilledemondesir
    Posted 5 years ago #

    Hi, I am struggling to change the color of my entry-meta and entry-utility info in my category pages. I edited the entry-meta and entry-utility sections in my CSS to change the colors from default blue to my desired color of grey (#888) and the color changed in my homepage and posts, but not when you click on a category. I'm using the Twenty Ten theme.

    Please help!!


  2. Michael
    Forum Moderator
    Posted 5 years ago #

    try and force the style using the !important after the format, before the semicolon:

    .entry-meta a,
    .entry-utility a {
    	color: #888!important;
    .entry-meta a:hover,
    .entry-utility a:hover {
    	color: #EC74AF!important;

    not ideal, but it seems to work.

    actually, this style from marketplace.css (http://parisinpink.com/blog/wp-content/plugins/wp-e-commerce/themes/marketplace/marketplace.css?ver=3.7.59) is overwriting your selection:

    .category a{

    the interference is triggered by the body_class .category which is added by twentyten to the body tag of category archives.

    twenty ten as the default theme of wp3 will be overwritten with the next upgrade of your wordpress version - all your modification will be lost.

    strongly consider to create a child theme: http://codex.wordpress.org/Child_Themes

    and keep making regular backup copies of your theme files

  3. camilledemondesir
    Posted 5 years ago #

    Thank you, thank you, thank you!

    I just deactivated the e-commerce plugin (which I don't use anymore anyway) and that did the trick.

    Thank you as well for suggesting to create a child theme - I'll definitely do that.

Topic Closed

This topic has been closed to new replies.

About this Topic