Log in

View Full Version : How to add link underline to CMS article links only (and nowhere else)


plasticsurgery
06-11-2011, 06:46 AM
Hello, I apologize if this question has already been asked, but I searched and wasn't able to find it.

I have been playing around trying to get the links in my CMS articles to have an underline at all times (not just during hover). I see that stylevar > links > link_textDecoration will cause all links to be underlined everywhere, which obviously I don't want. How can I accomplish this for just the links within the CMS articles and nowhere else?

THANKS

cellarius
06-11-2011, 07:08 AM
add the following to your additional.css
.vbcms_content a {
text-decoration: underline;
}

plasticsurgery
06-12-2011, 05:01 AM
Thank you for the reply cellarius! I tried it but unfortunately, it is causing all links in the CMS portion of the site to be underlined. For example, all of the links on the CMS home are underlined. All I want is the links which are in the CMS articles to be underlined. Do you have any other ideas?

Thank you!

cellarius
06-12-2011, 07:58 AM
Try:
#article_content a, .article_preview_contents a {
text-decoration: underline;
}