WordPress.org

Ready to get started?Download WordPress

Forums

Category link color (4 posts)

  1. DanStrogiy
    Member
    Posted 7 years ago #

    Where can i edit the color of the rel="category" link? Or how can i make this link another color?

    Here's the template:

    ds.civ4all.com

    Thanks.

  2. Sivar
    Member
    Posted 7 years ago #

    1) Look for the following part of code:
    <div style="font-size:30px;">
    2) Replace it with:
    <div class="title">
    3) Add the following lines to your style.css:

    .title a { font-size: 30px; color: #xxxxxx; }
    .title a:hover { color: #yyyyyy; }

    #xxxxxx and #yyyyyy have to be the colors you desire (like #ff0000 for red).

    4) Be happy! :)

  3. DanStrogiy
    Member
    Posted 7 years ago #

    Thank you, but then the permalink to the post is the same color) I need the different.

  4. Sivar
    Member
    Posted 7 years ago #

    I'm not exactly sure you you mean... there are 2 links per title, one to the category and one to the post. You want to change just the color of the category-links? In that case, modify the div as described before, and put this into your css:

    .title { font-size: 26px; } // you seem to have altered that from 30px to 26px?
    .title em a { color: #xxxxxx; }
    .title em a:hover { color: #yyyyyy; }

    Hope I could help...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags