I want to differentiate how links using H2 look from titles in H2. Obviously, when the user mouses over, the fact that there's a link becomes obvious, but it's not a great way to present.
B
PS. We've done some tests and H2 seems to be impossible to modify? Even changing the colour with:
.wiki-content H2 a { color: red; }
That is all no problem.
For link underlines you typically use:
text-decoration: underline !important;
If you want a different line you can also use borders:
text-decoration: none !important; border-bottom: 3px dotted orange;
If you want underlines to come and go for different link states you can also define different formats for:
.wiki-content h2 a { } .wiki-content h2 a:link/a:visited/a:focus/a:hover/a:active { }
Excellent! Thanks Steffen that works for me. Red is a bit... strident but I'll have a play. I'm no expert with CSS, do you think it would be possible to have a permanent underline for H2 links?
B
PS. Yes it is with text-decoration: underline
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For me, it works with this:
.wiki-content h2 a { color: red !important; }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.