Underline article links but not titles
11 years ago
docwisdom
Member
I added this bit of CSS to the style.css to return the underline to links in the post body.
.articles a { text-decoration:underline; } Unfortunately it also underlined the title. This code already exists to remove the underline from the post title, so Im not sure why mine is superseding. a.post_ttl, .post-caption h1 { color: #c1bda7; font-family: 'webfontregular'; font-size: 26px; line-height: 25px; text-decoration: none; text-transform:uppercase; } |
11 years ago
docwisdom
Member
Also my "read more" links are underlined and I would prefer they are not.
Maybe I need to replace this code .articles a { text-decoration:underline; } with a different selector? |
11 years ago
docwisdom
Member
I still cant figure out how to underline links in the article body but not the title and read more links.
|
11 years ago
Administrator
Support Service
Hi!
Please try to use selector ".articles .post_body a" instead ".articles a", and add option "text-decoration:none" for "input.readmore, a.readmore" |
11 years ago
docwisdom
Member
For some reason the
doesn't seem to work. It doesn't underline any of the links in the body.Instead I used as well as your mention of on input.readmore, a.readmoreThis "works" but if you have any suggestions for making it cleaner |
11 years ago
docwisdom
Member
correction to above
.articles a { text-decoration:underline; } .articles .one-post h2 a { text-decoration:none; } |
11 years ago
docwisdom
Member
I think I figured out what wasnt working with the code you provided. It needed one-post added.
this seems to work quite well now. |
Leave a reply
Search by forum
SMThemes.com Support
-
Categories
- Framework
- Themes
- Affiliate Company
- Sponsorship Useful pages
- How to start using our themes
- Contacts