Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2008, 02:21 PM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Simple 'How Do I Change This Colour' Question

Hi,

Been trying to figure out how to change a few colours on my vbulletin for ages now and I have had to admit defeat and ask one of you clever lot.

http://img516.imageshack.us/img516/8559/examplegu2.jpg

Anyone any idea at all how to change the links the arrows point to in the above screenshot to white? (without changing any other links on the forum), I have tried editing the navbar but could only manage to get the rest of the text white and not the username or private messages link.

After that, it would also be great if anyone could tell me how to change this colour http://img508.imageshack.us/img508/775/screensz4.jpg (b4dbe0) without changing the table border css? Thats the only way I can see which changes the colour in the screenshot, but I want the table border to remain that colour.

Any help would be greatly appreciated thanks.
Reply With Quote
  #2  
Old 06-23-2008, 02:45 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All of those are controlled in the Style Manager -> Main CSS

Look at table header (thread) and vbmenu_control CSS
Reply With Quote
  #3  
Old 06-23-2008, 03:03 PM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.

They are yes, but I need to just change the selected areas highlighted and no other areas.

For example, the time in the navbar. If I change the 'Time Color' font colour in the CSS, then it will change the time colour on all the forum postings too. Not good because I want to change the time colour in the navbar to white - this makes the time colour not visible in the actual forums.
Reply With Quote
  #4  
Old 06-23-2008, 05:01 PM
Attitude5ire's Avatar
Attitude5ire Attitude5ire is offline
 
Join Date: Feb 2006
Posts: 791
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1st Image: the class is .smallfont but you shouldnt do it becos its a global class.
Add a class file to the part in navbar like class="headernav" and then define link color by
headernav a{
color:#whatever u want.
}

Same for 2nd image as stated above its a global class if you change it will change colors for top navbar too..
you need define a custom class for it too.. prolly forumdisplay template
Reply With Quote
  #5  
Old 06-23-2008, 07:35 PM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Attitude5ire View Post
1st Image: the class is .smallfont but you shouldnt do it becos its a global class.
Add a class file to the part in navbar like class="headernav" and then define link color by
headernav a{
color:#whatever u want.
}

Same for 2nd image as stated above its a global class if you change it will change colors for top navbar too..
you need define a custom class for it too.. prolly forumdisplay template
Thanks a lot, but any chance you could explain that a bit more please?
Reply With Quote
  #6  
Old 06-23-2008, 07:41 PM
Attitude5ire's Avatar
Attitude5ire Attitude5ire is offline
 
Join Date: Feb 2006
Posts: 791
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uhm.. well in ur navbar template need to find where is the part which u want to alter..
if you post i can clear it..
basically u shdnt use global color scheme for those as they are exception u need to define a new color set for them.. both cases.
Reply With Quote
  #7  
Old 06-23-2008, 08:53 PM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks again.

Basically need all the text here to be white. Currently, it is apart from the actual links, so


Welcome Username
You last visited: Today at 03:50 PM
Private Messages: Unread 0, Total 10

The bold is what needs changing to white. Spent hours again trying but dont seem to be able to get it.

Code:
<if condition="$show['member']">
	<td nowrap="nowrap">
	<div class="smallfont">
		<strong><FONT COLOR="white"><class="headernav"><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
		<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

		<if condition="$show['notifications']">
			<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
			<script type="text/javascript"> vBmenu.register("notifications"); </script>
		<else /><if condition="$show['pmstats']">
			<div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div>
		</if></if>

		<if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
	</div>
	</td>
<else />
Reply With Quote
  #8  
Old 06-24-2008, 05:24 PM
Attitude5ire's Avatar
Attitude5ire Attitude5ire is offline
 
Join Date: Feb 2006
Posts: 791
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright add a class to
<td nowrap="nowrap">
like
<td class="spnav" nowrap="nowrap">

No open style main css>goto bottom advanced
and add
.spnav a{
color:white;
}

This will turn all links in that cell to white..
you can add style tag within table too.. but follow this much better.
Reply With Quote
  #9  
Old 06-24-2008, 06:55 PM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot! worked a treat.

Pushing my luck here I know, but this is the final bit and then my skin is complete. Any idea how to alter the colour below without changing the table border css? As the only way in which I can change the colour in the screenshot is by changing the table border css, which I dont want to do.



Reply With Quote
  #10  
Old 06-24-2008, 08:46 PM
Attitude5ire's Avatar
Attitude5ire Attitude5ire is offline
 
Join Date: Feb 2006
Posts: 791
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same method..
open forumdisplay and Showthread template..
and you need to add a class say
.spopt in css.. and then add that class next to these.. its quite easy.
Reply With Quote
Reply


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 07:18 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.04124 seconds
  • Memory Usage 2,254KB
  • Queries Executed 11 (?)
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
  • (1)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
  • (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_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