I wanted to change just the Hyperlink colors of my website https://www.pakdefense.com. I have used the code in Custom CSS as
.td-post-content a {
color: #3a7987 !important;
}
But, this code is not changing the color of my hyperlink. Please look at this page, as this page has several hyperlinks
https://www.pakdefense.com/privacy-policy/.
Please Guide me the procedure to change the hyperlink of my theme with this code. Thanks in Advance…
Hello,
There are no hyperlinks in your post. A link needs an anchor tag. Please use this guide to create links in wordpress first: http://www.wpbeginner.com/beginners-guide/beginners-guide-on-how-to-add-a-link-in-wordpress/
Thanks.
Hello pakdefense,
Try the code below and place it in Theme panel -> Custom CSS area.
.td-page-content p span a {
color: red !important;
}
The result is here -> https://www.screencast.com/t/duoDA5g4n
Thanks for your understanding!
Dear, I have tried pasting the code one at a time in the theme custom CSS area, but yet the hyperlinks color of my page is not changing. I have tried two different codings at a time as:
.td-page-content p span a {
color: #3a7987 !important;
}
.td-page-content p span a {
color: red !important;
}
Please check my page, as it hasn’t any changed color hyperlinks.
https://www.pakdefense.com/privacy-policy/
Please help me to cover this problem.
Hello,
The code works https://www.screencast.com/t/40DgGoqbJH6
But if it does not work for you, you may have errors in your custom css box. A big red X will hint you in. Do you have such a red X in your custom css box? That will break any code after it. IF you still cannot figure it out, please contact us on our email address at contact@tagdiv.com and provide a link to your site and wp-admin (login information and admin rights) so we can login and investigate. Please also include a link to this conversation so we can identify you.
Thank you!
