Underlined hyperlinks in posts not post titles, author tags etc.
-
I’ve been playing around with the css, trying to adjust the nature of the hyperlinks on my site.
I’m happy with the results on my posts. However, this has had the undesired effect of adding underlined links on my front pages to my posts and underlined hyperlinks on author tags and one the sidebar too.
Here is the code I added to my additional CSS for reference. I’m using Hueman theme btw.
a:link { color: black; text-decoration: none; border-bottom: 1px solid black; } a:hover { color: gray; border-bottom-color: gray; } .entry { color: black; } * { color: black; }The blog I need help with is: (visible only to logged in users)
-
Hello!
It looks like http://www.thetravellingtom.com is hosted by Unified Layer. WordPress.com forums can only offer support for blogs hosted on WordPress.com itself. Your question can be better answered at the WordPress.org forums here.
I hope this leads you in the right direction!
-
@tomstevenson78, there is a Hueman theme support forum at WordPress.org where you can post your questions.
I took a quick look at your site, and try removing the following from your custom CSS
a:link { color: black; text-decoration: none; border-bottom: 1px solid black; } a:hover { color: gray; border-bottom-color: gray; }and add the following instead.
.entry a { text-decoration: underline; } .entry a:hover { color: gray; border-bottom-color: gray; }The above will only apply the underline and hover effect to the links within the post and page content.
- The topic ‘Underlined hyperlinks in posts not post titles, author tags etc.’ is closed to new replies.