Hyperlink color change not taken into account
-
Hello everyone,
I am a beginner on CSS and I am trying to change the color of the 2 hyperlinks under “Catégories” section on my “https://www.silverwave.space/harmonisation-de-lieux-prestation/” web page.
For that I am adding some additionnal CSS from wordpress, but I can’t understand why it is not working. I identified relevant classes using chrome inspector. Here is what I added on “additionnal CSS section”, but it does not have any effect on hyperlink text color:
widget_categories .active a{
color: red;
}Could anyone help me with that, I am sure that the solution is quite simple for regular CSS users?
Thank a lot for your help,
Silver -
Hi Silver
I think this should work for you.
Remove what you have added and add the following CSS to your “additional CSS section”.
.widget ul { color: red; }Please be aware that this could effect the color of some of your other widgets. Let me know if you have any problems.
-
Hi there,
Thanks a lot for this quick answer, it’s much appreciated. It worked perfectly, nothing seems broken on my other pages so let’s say we are all good now !
Have a nice weekend
-
- The topic ‘Hyperlink color change not taken into account’ is closed to new replies.