-
-
Hi,
I am trying to have a certain color for certain text with link, I will clear it more,
I add a text widget on the footer, including, and than add this code on the (Custom CSS Code)
a.regular_link:link {color: #E26336;}
a.regular_link:active {color: #E26336;}
a.regular_link:visited {color: #E26336;}
a.regular_link:hover {color: #E26336;}
for some reason it is not working, can you help me there?
-
Hello,
Please send us the link where is this text and i’ll help you with the code.
Best regards!
-
Hi,
this is me website (onpointconsultant.com)
the test I am intending to change the color is on the footer,
you will see some of the text has link, and I need to have the link text color is like the reqular text (with keeping the link), check the screen shot (https://www.dropbox.com/s/6hymalbf4pe3h86/footer_color.JPG?dl=0)
Thank you
-
Hello,
Please try this out:
-go to file style.css and find this line: `p a {
color: #99ca3c !important;
}`
remove the!important
and save file.
-Now edit the code you had in Custom CSS Box, by adding!important
to each property. Should be like this:a.regular_link:link {color: #E26336 !important;} a.regular_link:active {color: #E26336 !important;} a.regular_link:visited {color: #E26336 !important;} a.regular_link:hover {color: #E26336 !important;}
Let us know.
Best regards!
-
Hi,
Thank you for the reply,
It is just weird, ,, I could not find the code on the style.css file mentioned, unless I am looking at the wrong file,
the file location I am looking at is in (wp-content/themes/specular/)
I search for that code (p a {color: #99ca3c !important;}) and any part of it, even search for the color number, but there are no luck, I could not locate it.
am I looking at the right file? or what I am dong wrong,
Thank you again for the help
-
Hello,
No that is the right file. Did you added this css class “regular_link” yourself? Did you made any other changes to theme files? I suggest you to make a general seach for this line “color: #99ca3c !important” since it shows in the Inspect Element, it must be somewhere in your site.
Then follow the instructions given above.Best regards!
-
OK, on the Specular setting under styling option I changed the Primary color to this (#99ca3c)
I search for that color all over style.css file, there are now way I can find it.
check the screen shot
https://www.dropbox.com/s/sqc5itbmjt0nsr7/Capture.JPG?dl=0
thank you
-
Hello,
If you give us your wp credentials in a private reply, we’ll give it a look.
Best regards!
-
-
Hello,
You had an error in your custom css box. I fixed it, and added this code:
p a { color: #E26336 !important; }
Please check your site.
Best regards!
-
Hi,
Every thing is working now, I did change what I have to change,
Thank you
-
You must be logged in to reply to this topic.