Ready to get started?Download WordPress


Changing color of links only on the front page (5 posts)

  1. hpgray
    Posted 2 years ago #

    I have a bunch of links on the front page. They are in a footer sidebar and I would like to change the color of these links, but NOT the links on the whole website. Thoughts?

  2. tiaanswart
    Posted 2 years ago #

    can we have a link to the site please?

  3. hpgray
    Posted 2 years ago #


    The bottom links are all so dark with the dark background--I used to have them orange, but didn't like the orange on all the other pages. So I changed ALL the links to blank, and now I can't see these. I am looking to change them back to orange.

    They are all located in a widgetized footer, if that makes any difference. Thanks!

  4. tiaanswart
    Posted 2 years ago #

    if you want to change all the links in one page to another color i would suggest adding the below code to your header.php file just after the stylesheet code:

    <?php if(is_home()); ?>
    a:link, a:visited {
    	color: #ffffff;
    a:hover {
    	color: #db7c00;
    <?php endif; ?>

    just change the colors in the code

  5. hpgray
    Posted 2 years ago #

    Thanks! I am going to give that a shot!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.