Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 09-07-2006, 12:21 AM
WritersBeat WritersBeat is offline
 
Join Date: Apr 2006
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Question about styling in one location

Hey all,

My links in general don't have an underline under them to make them look like "links" where would I style this so that it does?

ALso, I may not want this for the front page, this is pretty much only for the postbit because if someone shows a link, you can't really notice it. If anyone has any advice on how to make it so that it is underlined/different color only in the post bit then let me know.

Thanks.
Reply With Quote
  #2  
Old 09-08-2006, 07:56 AM
WritersBeat WritersBeat is offline
 
Join Date: Apr 2006
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please help
Reply With Quote
  #3  
Old 09-13-2006, 11:03 PM
WritersBeat WritersBeat is offline
 
Join Date: Apr 2006
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anybody? I really need to change the style of links in the postbit section!
Reply With Quote
  #4  
Old 09-14-2006, 12:12 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what I did to style links in my Posbit:

Find in your postbit/postbit_legacy template:
Code:
<div id="post_message_$post[postid]">
Replace with:
Code:
<div id="post_message_$post[postid]" class="vbpostbit">
Add this in your Style's Additional CSS Defitions: (Located in Main CSS)
Code:
.vbpostbit a:link
{
	color: #848484;
        font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
        border-bottom: 1px dotted #cdf16c;
	text-decoration: none;
}
.vbpostbit a:visited
{
	color: #848484;
        font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
        border-bottom: 1px dotted #cdf16c;
	text-decoration: none;
}
.vbpostbit a:hover, .vbpostbit a:active
{
	color: #cdf16c;
        font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
        border-bottom: 1px dotted #848484;
	text-decoration: none;
}
You can change the CSS to make the links appear as you please, but code I provided will make your links look like this:
Reply With Quote
  #5  
Old 09-14-2006, 01:01 AM
top end ms top end ms is offline
 
Join Date: Oct 2005
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

or you can probably modify the BB code to display [URL] tagged links with underline html code.
Reply With Quote
  #6  
Old 09-14-2006, 01:11 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That'd require a file edit. In addition, the only way to style your Links is using CSS.
Reply With Quote
  #7  
Old 09-14-2006, 07:47 AM
WritersBeat WritersBeat is offline
 
Join Date: Apr 2006
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you VERY much. I really appreciate it.
Reply With Quote
  #8  
Old 09-14-2006, 08:51 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem, glad to help.
Reply With Quote
  #9  
Old 01-17-2007, 11:44 PM
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent! I thought I had to edit a file to do this. Thanks acidburn.
Reply With Quote
  #10  
Old 11-19-2007, 06:30 AM
induslady induslady is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

The CSS definition I gave is as follows:
.vbpostbit
{ font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;

}

.vbpostbit a:link, .vbpostbit a:visited, .vbpostbit a:hover, .vbpostbit a:active
{
color: #6633FF;
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}

I have my message displayed in 10 point Verdana but the links are not displayed in 10 point verdana. Please refer the below link :

http://www.indusladies.com/forums/te...html#post94275

Note that in the above link though the message is in 10 point verdana, link is in 10 point Arial

Can you tell me what needs to be done to style the links too in 10pt Verdana?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04184 seconds
  • Memory Usage 2,244KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete