- This topic has 27 replies, 2 voices, and was last updated 6 years ago by
Leo.
-
AuthorPosts
-
February 7, 2017 at 2:36 pm #275721
Tim
I want to underline text links but exclude navigation from the underlining
I have this but underlines nav as well:
a, a:visited { text-decoration: underline !important;Thanks
February 7, 2017 at 2:47 pm #275731CRISTO
Just curious….I used to underline all my links, but that does not seem the general practice anymore. Wondering if that is correct.
February 7, 2017 at 2:55 pm #275735Tim
O.k, so I have
.entry-content a { text-decoration: underline !important; }Which seem to work, but;
.entry-content a:hover { text-decoration: none !important; }Does not
February 7, 2017 at 3:59 pm #275758Tim
Hello Cristo Rey,
I think your correct in that underlining links does not happen so much anymore, I just needed in this instance
February 7, 2017 at 4:13 pm #275762Leo
StaffCustomer SupportHi Tim,
I think something like this would be better:
p a:link, p a:hover, p a:active, p a:visited { text-decoration: underline; }Let me know.
February 7, 2017 at 4:21 pm #275764CRISTO
Thanks, Tim. I thought that was the case, just wanted to be sure. Since I am on page 624 on my site and have not underlined any links that is a relief!
February 7, 2017 at 7:11 pm #275796Tim
Thanks, Leo, that worked great.
February 7, 2017 at 8:03 pm #275807Leo
StaffCustomer SupportYou’re welcome 🙂
July 25, 2017 at 8:42 am #354656Kristijan
hi Leo,
this last code you’ve provided is great
can you please let us know:
– how to avoid Site Title to be underlined when hovered using this code?– how to make Site Title to change color when being hovered?
thanks
July 25, 2017 at 8:47 am #354660Leo
StaffCustomer Support1) Try:
.inside-article p a:link, .inside-article p a:hover, .inside-article p a:active, .inside-article p a:visited { text-decoration: underline; }2) This should work:
.main-title a:hover { color: #000000; }July 25, 2017 at 9:17 am #354668Kristijan
July 25, 2017 at 9:43 am #354688Kristijan
link underline when hovered now works in article, but not in the section.
can it work in section also?Site Title changing color when hovered is not working
here is my site:
kristijangalekovicJuly 25, 2017 at 9:45 am #354691Kristijan
link underline when hovered now works in article, but not in the section.
can it work in section also?Site Title changing color when hovered is not working
here is my site:
kristijangalekovicsorry, for wrong link in previous post
July 25, 2017 at 11:06 am #354744Leo
StaffCustomer SupportLink underline is working to me in the link above.
Can’t see the title hover CSS being added.
Can you disable the caching plugin first?
July 25, 2017 at 11:30 am #354754Kristijan
I’ve disabled WP Super Casche plugin now
Link underline is not working in Sections (I’ve put section now on the page, please check it)>
kristijangalekovicTitle hover CSS is added
-
AuthorPosts
- The topic ‘Underline Text Links, exclude Navigation’ is closed to new replies.