How to change link colour in WordPress posts and pages for Dazzling

WP: 4.2.2 (current)
Dazzling: current version
Site: curlyafrodotcom
Hi Aigars!

Again, thanks for this fabulous theme!

Wondering how to change the link colour for just the post and page contents. I tried changing link colour in appearance>theme option>typography but when “link colour” selected, all links are changed (even the links with Dazzling Popular Posts). Could you suggest the best way to just change the posts and page content - nothing else.

Thanks in advance,

Hi @4alex,

I hope you are doing well today and thank you for your question.

You can change the link colour for just the post and page contents by adding the following CSS code in the Custom CSS option of Dazzling theme options on the following path.

Admin Area -> Apperance -> Theme Options -> Other -> Custom CSS


body.page .entry-content a,
body.single-post .entry-content a {
color: #0081cc;
}

body.page .entry-content a:hover,
body.single-post .entry-content a:hover {
color: #7ad03a;
}

Best Regards,
Movin

Thanks so much Movin; works perfectly!

You are most welcome :slight_smile: