WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Change link color in footer widgets

[Resolved] Change link color in footer widgets

Viewing 7 replies - 1 through 7 (of 7 total)
  • You should create a Child theme to make your changes. If you do not, all of your changes will be lost if you update your theme.

    Try adding rules like these to the end of your child theme’s style.css:

    #footer-sidebar a span { color: #FF0000 !important; }
    #footer-sidebar a:hover span { color: #00FF00 !important; }
    #footer-sidebar a:visited span { color: #0000FF !important; }

    Under

    themes >> rumput-hijau

    it already exists a “rumputhijau-child”. And when i open it there is a “style.css”-file. Can I just use this file, or do I have to create my own child theme?

    Anyway I tried adding your code at the end of this file, but nothing happened at my site.

    By the way, what is the “hover”-part in the code? I have seen this many places, but I don’t know what it means.

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    It’s not for us to teach CSS, consider CSS tutorials or CSS forums.

    The child theme may already exist, but if it is not activated (the current theme) then changes there will have no effect.

    The ‘hover’ makes the rule only apply when the mouse pointer is ‘hovered’ over the link.

    Ok. Thank you very much, I’ll see if I can work it out now.

    And thank you, Andrew, for the links. I will read up on that. I am very new to this homepage-world, so there are still many things for me to learn. I was not aware that I could not ask about CSS in this forum, I’m sorry.

    Many, many of the questions asked in this forum deal with CSS, so feel free to ask.

    Ok, great! Thanks again, vtxyzzy, this has been very helpful!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Change link color in footer widgets’ is closed to new replies.
Skip to toolbar