Hello geegee07,
Try below css code.
//Remove Underline
a {
text-decoration: none;
}
//Add hover color effect
a:hover {
color: #e05757;
}
Hope this will helps you.
Thanks.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
^ The underline is applied through box shadow so that it can be animated. It not applied through the ‘text-decoration’ rule.
Thank you guys!
I found already a solution and this code works perfect for me (I left the underline only on hover):
.entry-content a {
color: #008488;
border: none;
box-shadow: none;
}
.entry-content a:hover {
color: #008488;
}
Where is the CSS box to enter the code?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
In the “Additional CSS” section of the dashboard add this:
.entry-content a {
box-shadow: none;
}
https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress
WP – menu – appereance – custom CSS / additional CSS or over a plugin “Simple CSS”
-
This reply was modified 7 years, 11 months ago by
geegee07.