vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   How to add link underline to CMS article links only (and nowhere else) (https://vborg.vbsupport.ru/showthread.php?t=265036)

plasticsurgery 06-11-2011 07:46 AM

How to add link underline to CMS article links only (and nowhere else)
 
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 08:08 AM

add the following to your additional.css
Code:

.vbcms_content a {
    text-decoration: underline;
}


plasticsurgery 06-12-2011 06: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 08:58 AM

Try:
Code:

#article_content a, .article_preview_contents a {
    text-decoration: underline;
}



All times are GMT. The time now is 01:12 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01066 seconds
  • Memory Usage 1,710KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete