MyBB Community Forums

Full Version: Different Color Menu Bar?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi, If you look at my screen cap the menu bar and category titles are the same colors (table headers). I would like to put a different background image for the menu bar. How would I do that? Sad


http://i6.photobucket.com/albums/y242/Ed...enubar.jpg
Look in templates for the Toplinks, it will have a style on it for thead, change it to whatever you want, then go into the theme styles, and add a custom style for it.
Hi dudeness3, I couldn't seem to locate the template for Toplinks.
It should be Header
<script language="Javascript" type="text/javascript">
		 var cookieDomain = "$settings[cookiedomain]";
   var cookiePath = "$settings[cookiepath]";
   var quickdelete_confirm = "$lang->quickdelete_confirm"; 
   var newpm_prompt = "$lang->newpm_prompt";
   var deleteevent_confirm = "$lang->deleteevent_confirm";
   var removeattach_confirm = "$lang->removeattach_confirm";
 </script> 
 <center><a name="top"></a></center>
 <div id="container">
  
   <hr class="hidden" />
   
    $welcomeblock
   
  </div>
  <hr class="hidden" />
  
  <!--IMPORTANT-->
		<div id="content">
   $bannedwarning
   $bbclosedwarning
   $unreadreports
   <navigation>
   <br class="clear" />

thats the code I have in my header. hmmm Where would I put the link for the background image? Thanks again for your help Smile
Hmmm, thats not it, maybe it's different in that theme, this is mine
	<a name="top" id="top"></a>
	<div id="container">
		<div id="header">
			<div class="logo" align="center"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>
			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>
			<hr class="hidden" />
			<div id="panel">
				{$welcomeblock}
			</div>
		</div>
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			<navigation>
			<br class="clear" />
ok, I think that part of the header code is in my Header Member View, in your code what would you put to change the background. Then Id have an idea where to put it in mine.

Thanks Smile
You could try index page templates too
I think you may put A CSS code in the toplinks box in your theme
pepotiger Wrote:I think you may put A CSS code in the toplinks box in your theme

hmm I did try that first but it didn't do anything. Sad
Pages: 1 2