Viewing 5 reply threads
You must be logged in to reply to this topic.
Hi,
I want to change the colour of links in the body text of my posts and pages only. I have searched the forum but none of the solutions work for me. Please tell me how I edit the CSS and where I make that change.
Thanks,
Tom
Hello,
Please try adding this code into your Custom > General > Custom Codes > Custom Css box:
.page a, .single-post a {
color: #ef8d0f;
}
Change the color to your wish.
Let me know.
Best regards!
Thanks for this. It only seems to work for posts. How do I make the same change to links in pages?
Hello,
Actually this should work for page too. Try editing the above code to this:
.page a {
color: #ef8d0f !important;
}
.single-post a {
color: #ef8d0f !important;
}
Let me know.
Best regards!
That worked. Thanks.
For what it’s worth, I am surprised I can’t simply make this change through the page builder options instead of having to add custom CSS. It seems to be quite a common thing that people would want to change.
Hello,
It seems like that, but this is one of the basic wordpress features, the font. And the font takes the default settings from theme settings. Here you can only change the main font used, main color etc. This is related to wordpress functions more than theme’s.
I believe in the future with the growing and developing of WP, it’s features will continue to expand. But for now this is what we can get.
Best regards!
You must be logged in to reply to this topic.