Hello lauratraveler,
Please provide the site url so we can provide you custom css as per the need.
Kind regards,
Manoj
Hi Manoj, here’s an article example since I only want the links to be underlined in the article body of articles…
http://www.bylauraiancu.com/how-to-move-blog-from-wordpress-com-to-wordpress-org
Hey Laura,
This CSS should add an underline to all links within page bodies on your site:
body a {
text-decoration: underline !important;
}
Add that to Theme Options> Custom CSS, and you should be set.
-Kevin
Thanks, Kevin. That actually underlines the titles on the blog page too, and I don’t want that. So I changed it to
p a {
text-decoration: underline !important;
}
but some of the buttons that I centered using p are still underlined. Is there a way to avoid that? Thanks!
Oh, and whatever links I have under bullet points don’t get underlined when I use the code like that (with p)…
Actually, here’s an idea that may work better. When adding your links that you want to have the underline, you can give them a class, like this:
<a href="http://test.com" class="underline_link">>testing</a>
Then, you could add one piece of CSS that will underline all of the links with that class, like this:
.underline_link {
text-decoration: underline !important;
}
This will allow you to have complete control over what links have underlines and what ones don’t.
-kevin
-
This reply was modified 8 years, 11 months ago by
Kevin.