ThemeShaper Forums » Thematic

[closed]

Changing color of links for different sections

(8 posts)
  • Started 13 years ago by ssassen
  • Latest reply from garycr5
  • This topic is resolved

Tags:

  1. ssassen
    Member

    Hi

    This is my blog:
    http://we-are-awesome.com/blog/

    I am wanting to change the color of the links in the content section and leave the color as it is in the sidebar.
    But im not too sure how to do that?

    Is there a way?
    When i change the link color in the stylesheet it just changes everything...

    Posted 13 years ago #
  2. amygail
    Member

    It will make your life much easier if you work in Firefox and add the web developer's toolbar -then you can find the elements you need to target (http://chrispederick.com/work/web-developer/)

    This is how you'd change the links in your primary aside

    #primary a{
    color:red;
    }

    your secondary aside

    #secondary a{
    color:red;
    }

    etc

    Hope that helps

    Posted 13 years ago #
  3. ssassen
    Member

    That does help.
    Thank you.

    But now how do you get it to be a bit more selective and only change the links in the body of the post and not the header of the post, etc.

    Or is that asking too much...?

    Posted 13 years ago #
  4. @ssassen re "how do you get it to be a bit more selective and only change the links in the body of the post"...

    In your style.css sheet, change the link color parameter (it's at the very bottom)...

    #content a{
    color: red;
    }

    to whichever color you want to use for your links within the content area i.e...

    #content a{
    color: #00c;
    }

    Posted 13 years ago #
  5. ssassen
    Member

    Thanks marti garaughty. I got that.
    But when i change it a to a blueish color, it also changes the header of the post, the 'older posts' link, etc.

    I only want it to change the links i create in the body of the post.

    Posted 13 years ago #
  6. amygail
    Member

    try:

    .entry-content a

    The web developers toolbar will change your life ;-)

    Posted 13 years ago #
  7. ssassen
    Member

    Thank you so much. That worked.

    Posted 13 years ago #
  8. @marti garaughty

    Thank you so much for this tip!

    #content a{
    color: red;
    }

    That just solved a problem I've been wrestling with for ages. Wow.

    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.