changing link color
-
Hello,
I am using theme Dara. Unfortunately, the color of the links are nearly the same as for the normal text. Is there a way to change it?Thank you!
The blog I need help with is: (visible only to logged in users)
-
Sure – this custom CSS should cover most of the links that are currently a teal green on https://astrozwerge.wordpress.com/
.cat-links a, .comment-meta a, .entry-title a:active, .entry-title a:focus, .entry-title a:hover, .footer-widget-area a:active, .footer-widget-area a:focus, .footer-widget-area a:hover, .jetpack-testimonial-shortcode .testimonial-entry-title, .site-info a:active, .site-info a:focus, .site-info a:hover, a, body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-title, body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-title a { color: #bb00bb; }Change the test purple code to anything you prefer. http://htmlcolorcodes.com/
Custom CSS is available with the Premium or Business plans.
If you need further help, just let me know.
-
I just tried using this to change the link and hover colors in Baskerville 2 and it did nothing. Is there something I’m missing? https://donwings.com
-
dwinger76 – CSS varies from theme to theme; this post is about Dara.
This CSS should change most of the links in Baskerville 2:
/* Change link colours in Baskerville 2 */ body a { color: #bb00bb; }Because CSS is theme-specific, it’s always best to start your own thread in the CSS Customization forum when looking for help with CSS. If you need further CSS assistance, please start a new thread there, so we can keep the code needed for the two themes more separate and clear. Thanks!
-
Hi, I just tried the code you provided for the Dara theme, because I’m having the same issue with links not standing out from the rest of the text. The code didn’t work for me. Is there a specific place I should copy and paste it? Thanks!
-
CSS is generally quite theme-specific, so what works in one theme may not work in another. The CSS I gave earlier is for Baskerville 2, not Dara. This code should change the colour of links in Dara. I’ve included a button class as well, so you can keep the button link colour white.
/* Page and post content link colour */ .entry-content a { color: #bb00bb; } /* Button link text colour */ a.button { color: #ffffff; }Custom CSS goes in the Custom CSS panel in the Customizer. Custom CSS is available with the Premium or Business plans.
If you need further help, please start a new thread in the CSS CSS Customization forum.
- The topic ‘changing link color’ is closed to new replies.