vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to create underlined links in postbit text but not on the forumhome (https://vborg.vbsupport.ru/showthread.php?t=233752)

Bram H 01-21-2010 04:05 PM

How to create underlined links in postbit text but not on the forumhome
 
I hope you understand what i mean with this title. This is something that is bugging me for a long time and now its time to solve it.

In general i like links to be not underline at all. Not on forumhome, navigation etc. Though with the current use of my colors its really hard to find a link in the text of posts.

Is there a way to leave the global settings of the forum untouched and only create a different colored underline link in the post text itself?

Thanks :up:

BSMedia 01-21-2010 04:07 PM

you could try to add something like

Code:

.postcontent  a:link, a:hover, a:visited {text-decoration: underline;}
to your additional.css template

Bram H 01-21-2010 04:18 PM

Nope this affects also the forumhome etc. It should only underline the postbit links :)

Lynne 01-21-2010 04:44 PM

Just add:
Code:

.postcontent a {
text-decoration:underline;


}


Bram H 01-21-2010 05:25 PM

Great, thank you Lynn that worked :up:!! Can i also change the color of the link different than the one we use on the rest of the board?

Lynne 01-21-2010 05:43 PM

Probably in the same class, yes. Just add the color property to it.

ChrisG. 01-31-2010 05:56 AM

Nice, I assume this could also be made to work for calendar entry content?

Lynne 01-31-2010 02:55 PM

Quote:

Originally Posted by ChrisG. (Post 1971024)
Nice, I assume this could also be made to work for calendar entry content?

You can apply CSS to wherever you want, so yes, you could apply it to calendar entry content. Just find the class and add the css to your style.


All times are GMT. The time now is 03:09 PM.

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.01044 seconds
  • Memory Usage 1,720KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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