MyBB Community Forums

Full Version: Bit of CSS Help :p
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey Guys,

I have been working on a new theme for my website and I have mytracker installed. The sidebar on the admincp theme is sorta mucked up so I decided to ask for help here Toungue

http://yhm.techtalk.co.uk/screen1.png (The error)

If you need anymore files just ask.

Many Thanks, Polar
It looks like there's an unclosed div somewhere, or one closed pre-maturely.
This is the MyTracker main menu template I have:
<div id="left_menu">
<div class="left_menu_box">
	<div class="title">{$lang->main_menu}</div>
	<ul class="menu">
		<li class="{$home_active}"><a href="./">{$h_raquo} {$lang->cp_home}</a></li>
		<li class="{$projects_active}"><a href="./projects.php">{$p_raquo} {$lang->menu_projects}</a></li>{$project_options}
		<li class="{$cat_active}"><a href="./categories.php">{$ca_raquo} {$lang->menu_categories}</a></li>{$category_options}
		<li class="{$pri_active}"><a href="./priorities.php">{$pr_raquo} {$lang->menu_priorities}</a></li>{$priority_options}
		<li class="{$sta_active}"><a href="./statuses.php">{$st_raquo} {$lang->menu_statuses}</a></li>{$status_options}
		<li class="{$stag_active}"><a href="./stages.php">{$sg_raquo} {$lang->menu_stages}</a></li>{$stage_options}
	</ul>
</div>
<br />
<div class="left_menu_box">
	<div class="title">{$lang->menu_options}</div>
	<ul class="menu">
		<li ><a href="./?action=checkversion">{$lang->menu_updates}</a></li>
		<li ><a href="http://xekko.co.uk/mytracker/" target="_blank">{$lang->menu_trackhome}</a></li>
	</ul>
</div>
</div>
	

On my other theme it works fine though so it might be a stylesheet error.
Seems more like a menu class error.
First, replace your current .menu with .nav (in global.css)
Then copy the default .menu class/uls into your current skin (in global.css)
Now, go to your header and replace everything that says "menu" to "nav"
Should work.
Ok -
Quote:Then copy the default .menu class/uls into your current skin (in global.css)
I don't get that bit though :s

EDIT: Works now thanks Smile
No problem, glad I could be of assistance.