What theme are you using? Can you post a link to your site?
I’m using X – Child Theme.
http://primecreationband.com/
Thanks!
If u check the foofighters.com site, that’s what I would like.
A different color on links (in their case blue) with a pale underline and when hoovering the link, the underline lights up in the same color as the link.
Try this code in your child theme’s stylesheet:
a {
border-bottom: 1px solid #ddd;
color: #479db1;
}
a:hover {
border-bottom: 1px solid #479db1;
color: #479db1;
text-decoration: none;
}
But be aware that you’ve got some inline CSS that looks like it’s being generated by your theme. As I don’t have access to your theme, I can’t be sure exactly what’s happening. Does your theme have any options in Dashboard > Appearance or Dashboard > Appearance > Customize that affect the text color? If so, you should probably set the text color there and delete the color: #479db1; lines in the code I provided.
I’m sorry, I’m not very familiar with css stylesheets, could you tell me where in the code I should put it?
You can put it at the very bottom.
Starting to get it to work now, thanks! But now all of my linked objects gets the underline, I only want the underline in my posts. Not in the header, footer and sidebar.
Hmm… Even the linked object in my posts get the underline, images and so on, I would like to have it on text only…
Does it look like you want if you use .hentry a {} instead:
.hentry a {
border-bottom: 1px solid #555145;
color: #479db1;
}
.hentry a:hover {
border-bottom: 1px solid #beb9a9;
color: #000000;
text-decoration: none;
}
Yeah, that’s it!
Thank you very much for your help!