WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change Text Color (6 posts)

  1. arrocomic
    Member
    Posted 2 years ago #

    Hi,

    I'm using ComicPress, Boxed theme and am trying to change the color of the text where below my comic is (my website is arrocomic.com). I'd like to change both the link text and potentially the plain text as well. I added in the following code to my stylesheet, based on the advice given in another forum thread:

    a {
    color: #d47a1a;
    text-decoration: none;
    }

    a:hover {
    color: #4a7279;
    text-decoration: underline;
    }

    And this changed the hover text color, but not the unclicked link text.

    I'd love to get some advice if anyone has any!

    Thanks so much,
    Alison

  2. Michael Mann
    Member
    Posted 2 years ago #

    I'm not using that theme, but once I figured out that the links you are trying to change are the ones for the post title, I took a screen capture, and using GIMP, got the unvisited link color for you. Search the CSS file for this:

    #115294

    Hope that helps!

  3. arrocomic
    Member
    Posted 2 years ago #

    That was a really good idea, @manndtp! Thanks for the suggestion. I tried it though (and even took my own screen cap to search the hex value), but can't seem to find it in the CSS.

    I did manage to change the color of some of the body text links by adding an a:link line, but the headers and the right column navigation links are still staying the default blue.

    Any other ideas would be awesome!

    Best,
    Alison

  4. Michael Mann
    Member
    Posted 2 years ago #

    You won't need to add a a:link, as one is already there for you, with that hex color code. I went ahead and installed the ComicPress theme on one of my less busy WordPress sites and found this in the style.css file:

    a:link {
    color: #115294;
    }

    Change the color and you should be all set. (remove the line you added as well)

  5. arrocomic
    Member
    Posted 2 years ago #

    Ok, I think I've figured it out! Thanks for the help.

    My other question is how I might change the text for (a) previously clicked links and (b) the main body text (text that isn't clickable).

    Thanks again!
    Alison

  6. arrocomic
    Member
    Posted 2 years ago #

    Nevermind, I found it! I was editing the Boxed child theme, which is why I couldn't find that hex that you were referencing. I just needed to switch to the main ComicPress theme, and there it was.

    Thank you, thank you! You guys are awesome!

Topic Closed

This topic has been closed to new replies.

About this Topic