Log in

View Full Version : change the colour


bollie
01-20-2007, 05:19 AM
how I can change the colour ?

https://vborg.vbsupport.ru/external/2007/01/2.png

calorie
01-20-2007, 06:12 AM
In the vB header template find the following table:

<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
&nbsp;
</td>
</tr>
</table>

You can add some inline CSS to the TABLE or TD tags:

style="background: #000000;"

bollie
01-20-2007, 08:02 AM
Can you help me

<script language="javascript" src="http://www.mollie.nl/partners/js/48915.js"> </script>


<META http-equiv=Page-Exit content=BlendTrans(Duration=0)>
<META http-equiv=Page-Enter content=BlendTrans(Duration=0)>
<!-- logo -->
<a name="top"></a>



<table background="$stylevar[imgdir_misc]/header_top_nav_bg.gif" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">

<td height="32" class="vbmenu_control_nav">
<td class="navbar"><a href="$vboptions[homeurl]?$session[sessionurl]">Home</a></td>
<td class="navbar"><a href="$vboptions[bburl]?$session[sessionurl]">Forum</a></td>
<td class="navbar"><a href="http://www.pctuts.be/forum/glossary.php">Woordenlijst</a></td>
<td class="navbar"><a href="http://www.pctuts.be/forum/arcade.php">Arcade</a></td>
<td class="navbar"><a href="http://www.pctuts.be/forum/downloads.php">Download</a></td>





</tr>
</table>








<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="2" align="center" bgcolor="#FFFFFF" class="border_out">
<tr>
<td align="center" valign="top">
<div align="center" class="border_in">
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" class="header_bg">
<tr>
<td align="$stylevar[left]" valign="top" height="107"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<!-- /logo -->
<td align="$stylevar[right]">
&nbsp;
<!-- banners -->

</td>
</tr>
<tr>
<td height="37" colspan="2">





<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://www.pctuts.be/forum/usercp.php">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="http://www.pctuts.be/forum/register.php" rel="nofollow">$vbphrase[register]</a></td>
</if>


<td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a>
<script type="text/javascript"> vbmenu_register("vbimghost");</script></td>
















<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://www.pctuts.be/forum/search.php?do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<td class="vbmenu_control"><a href="http://www.pctuts.be/forum/search.php?do=finduser&u=$bbuserinfo[userid]" accesskey="2">Mijn Berichten</a> <span id="navbar_myposts"></span></td>
<else />
<td class="vbmenu_control"><a href="http://www.pctuts.be/forum/search.php?do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a>






<script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://www.pctuts.be/forum/search.php?do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="http://www.pctuts.be/forum/search.php?do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>




</if>
</if>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->



</td></tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

calorie
01-20-2007, 09:04 AM
Try replacing this bit:

<td align="$stylevar[right]">
&nbsp;
<!-- banners -->

</td>

With the following:

<td style="background: #000000;" align="$stylevar[right]">
&nbsp;
<!-- banners -->

</td>

And see if it turns black.

bollie
01-20-2007, 09:48 AM
Now
https://vborg.vbsupport.ru/external/2007/01/1.png

calorie
01-20-2007, 09:56 AM
See the black color on the right side. What you have is either the $stylevar[titleimage] image or an image specified in the header_bg CSS over the black color. Go to the ACP -> Styles & Templates -> Style Manager -> StyleVars -> Title Image to find the location of your logo, and find the image set in the header_bg CSS. It's probably the image set in the header_bg CSS that you can remove or edit to add color.