Link Color
-
Which CSS class corresponds to link color and link color on hover for body text? Right now my links are/are almost the same color as body text.
The blog I need help with is: (visible only to logged in users)
-
Typically, the links would have be underlined to distinguish them from the text, however, it appears you may be using the Elementor plugin which has removed underlines from text links. I’ve provided some custom CSS below that may help with defining a color for links within the entry content.
.entry-content a { color: #ff0000; } .entry-content a.button { color: inherit; }
Let me know how that works for you. There is also a CSS Customization forum that you may find helpful when seeking to customize the look and feel of your site.
-
I tried that, but it didn’t work for me. I tried replacing your color with this one #369dd4 and it didn’t reflect that change for some reason.
Could something be overriding it?
-
Maybe try this:
body .entry-content a { color: #369dd4; } body .entry-content a.button { color: inherit; }
-
-
It looks like this is an elementor issue again. Apparently, elementor prefers to use it’s own templating system. In this case, it would be expected that things may not work as expected do to core WordPress post classes not being available.
The following might help, however, you may need to modify if you see the style bleeding into other areas where it is not wanted.
body .elementor a { color: #369dd4; } body .elementor a.button { color: inherit; }
-
-
- The topic ‘Link Color’ is closed to new replies.