Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 08-22-2014, 11:32 AM
MaXimus MaXimus is offline
 
Join Date: Nov 2011
Location: Dubai, U.A.E.
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to change the hyperlinks color in my stlye?

A very good member on the forums helped me create a custom style for my forum.

Now I don't want to pester her with every request but I noticed that hyperlinks appear light yellow/beige in color so it's a bit difficult to differentiate a hyperlink from normal text in a post.

I was thinking how can I make the hyperlinks color light blue perhaps in that style?

Check this example which contains a hyperlink please:

http://forum.maxgeeks.net/showthread.php?p=329#post329
Reply With Quote
  #2  
Old 08-22-2014, 11:40 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not at my comp ATM, but it should be the stylevar link_color
Reply With Quote
  #3  
Old 08-22-2014, 11:50 PM
MaXimus MaXimus is offline
 
Join Date: Nov 2011
Location: Dubai, U.A.E.
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was in the All Style Options / Body



--------------- Added [DATE]1408755392[/DATE] at [TIME]1408755392[/TIME] ---------------

ahhh no nevermind that also changed all the main thread listings and forums listing to blue

I revert the colors back to default

I want to only change the color of hyperlinks I post not the links of the subforums and threads

pls help
Reply With Quote
  #4  
Old 08-23-2014, 12:49 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry, been busy, feel free to pm anytime.
what you are asking is easy in vb4 but not in vb3. i have not tested with plain postbit, but,
to do this, find in your post bit:
Code:
<div id="post_message_$post[postid]">
change this code to:
Code:
<div id="post_message_$post[postid]" class="vb_postbit">
then add to bottom of Additional CSS this:
Code:
.vb_postbit a {
color: blue;
background:none;
}
.vb_postbit a:hover {
color: Red;
background:none;
}
this way you can change colors and hover.
eg: blue or #0000FF.

let me know how ya go.

p.s if you want bold font or underline, just add:
your css would look like this:
Code:
.vb_postbit a {
color: blue;
background:none;
text-decoration:underline;
font-weight: bold;
}
.vb_postbit a:hover {
color: Red;
background:none;
text-decoration:underline;
font-weight: bold;
}
Reply With Quote
Благодарность от:
MaXimus
  #5  
Old 08-23-2014, 01:32 AM
MaXimus MaXimus is offline
 
Join Date: Nov 2011
Location: Dubai, U.A.E.
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did the first part but where on earth do I edit the additional CSS?

Is that the vbulletin-style.xml file located in the Install folder?

EDIT: Nope, it certainly wasn't that because when I did the changes to that file nothing changed on the forum.

I hate vBulletin!! Changing such simple aspects of the forum require a person to reinvent the wheel!
Reply With Quote
  #6  
Old 08-23-2014, 02:36 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is actually simple but more easy on vb4.

Styles & Templates>>Style Manager>>All style options, click go on which style you want to edit. scroll to bottom. Additional CSS Definitions, paste in second box under the rest of the CSS i added for your skin.

You dont need to leave to style section
you want me to do it?
the screenshot you posted about, the additional CSS is at the bottom of that page.
Attached Images
File Type: png max.png (109.1 KB, 0 views)
Reply With Quote
  #7  
Old 08-23-2014, 03:38 AM
MaXimus MaXimus is offline
 
Join Date: Nov 2011
Location: Dubai, U.A.E.
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ShawneyJ View Post
This is actually simple but more easy on vb4.

Styles & Templates>>Style Manager>>All style options, click go on which style you want to edit. scroll to bottom. Additional CSS Definitions, paste in second box under the rest of the CSS i added for your skin.

You dont need to leave to style section
you want me to do it?
the screenshot you posted about, the additional CSS is at the bottom of that page.
yuppie!!! Princess Shawney to the rescue again! Thank you so much you're the best!

All done

Example: http://forum.maxgeeks.net/showthread.php?p=329#post329
Reply With Quote
Благодарность от:
ShawneyJ
  #8  
Old 08-23-2014, 03:43 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good job
hang in there with your front page, i'll get to it very soon. sorry for the delay.
Reply With Quote
  #9  
Old 08-23-2014, 03:50 AM
MaXimus MaXimus is offline
 
Join Date: Nov 2011
Location: Dubai, U.A.E.
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you! the most helpful member on the internet!
Reply With Quote
  #10  
Old 08-23-2014, 08:45 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whooops, my bad, I did not notice this was a vB3 question.
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 12:31 AM.


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.07540 seconds
  • Memory Usage 2,274KB
  • Queries Executed 14 (?)
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
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete