MyBB Community Forums

Full Version: MyBB Nav
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: navzx4.png]

Hi,

I would like to ask how could I put a link in the left side of the nav?
If you view source you will see comment tags which display what template is part of that output. Then you can edit in admincp the template to your liking.
yes I know the template but how can I put a link to the left ex. I want to move the Search to left how can I put it in lefT?
W3Schools

Basic HTML is used in the templates, so if you know HTML, then you should already know how to do it.

If you don't know html, and you're running a forum, I suggest you try and learn it if you hope to be successfuly Sleepy
hmm k, I know HTML but I guess I forgot lol
(2008-09-24, 07:49 AM)Tom.M Wrote: [ -> ]W3Schools

Basic HTML is used in the templates, so if you know HTML, then you should already know how to do it.

If you don't know html, and you're running a forum, I suggest you try and learn it if you hope to be successfuly Sleepy

*Successful Angel

If you find where it says it's aligning right, just change the 'right' to 'left'. Or removing the aligning altogether should move it to the left, no??
(2008-09-24, 09:42 AM)Matt_ Wrote: [ -> ]*Successful Angel

If you find where it says it's aligning right, just change the 'right' to 'left'. Or removing the aligning altogether should move it to the left, no??

Grrr.. are you wanting the play the spelling and grammar game? Toungue

Maybe - it depends whether there is a higher div controlling where the content is aligned. I hate Divs... tables rule Toungue

If he wants to just move the "Search" link, which he implies, then he might need to create a different rule, maybe with something like float:left/right... but let's see if he does get stuck first... Rolleyes
In the header template, find:
			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>
Replace with:
			<div class="menu" style="float: left;">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
				</ul>
			</div>
			<div class="menu">
				<ul>

					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>
Hi,

thanks you Smile DenisTT