Page 1 of 1

Main Menu

Posted: Tue Jan 30, 2007 5:44 am
by brick
Ok I made a logo for my message board and I'm trying to move all of the menu links under it because its the width of the table. I've tried everything I can think of. Anyone know how to do this? Brick

Margins

Posted: Tue Jan 30, 2007 5:50 am
by brick
I also am trying to center align the main forums table and change the margin size, and again having trouble. Every time I try to do this the content inside the main table border go to 760px but the table stays the same. Anyone know how to do this?

Re: Main Menu

Posted: Tue Jan 30, 2007 5:52 am
by some.lin
brick wrote: Ok I made a logo for my message board and I'm trying to move all of the menu links under it because its the width of the table. I've tried everything I can think of. Anyone know how to do this? Brick


what do you mean ?
do you have an example?

Posted: Tue Jan 30, 2007 6:07 am
by brick
The logo I made is 760px wide and when I use it all the nav links are positioned to the right of the logo, and you have to scroll the page to the right to use the nav links.

Posted: Tue Jan 30, 2007 6:13 am
by some.lin
brick wrote: The logo I made is 760px wide and when I use it all the nav links are positioned to the right of the logo, and you have to scroll the page to the right to use the nav links.


I approximately know what you mean.

Could you copy the code here?

Posted: Tue Jan 30, 2007 6:25 am
by brick

Code: Select all

				<td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
				<td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span> 
				<table cellspacing="0" cellpadding="2" border="0">
					<tr> 
						
                                                                                                                                                                                                                                                                                                                                                                                     <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp; 
						<!-- BEGIN switch_user_logged_out -->
						&nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a>&nbsp;
						<!-- END switch_user_logged_out -->
						</span></td>
					</tr>
					<tr>
						<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
					</tr>
				</table></td>
			</tr>
		</table>

		<br />

Posted: Tue Jan 30, 2007 6:37 am
by some.lin
hey, try this:

Code: Select all

<td align="center" width="100%" valign="middle">

<table cellspacing="0" cellpadding="0" border="0">
    <tr>
        <td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" width="780"></a></td>
    </tr>
    <tr>
        <td><span class="nav">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span> </td>
    </tr>
    <tr> 
        <td align="center">
<span class="mainmenu">
&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>
&nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>
&nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>
&nbsp;<a href="{U_GROUP_CP}class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>
<!-- BEGIN switch_user_logged_out --> 
&nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a>&nbsp; 
<!-- END switch_user_logged_out --> 
&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>
&nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>
&nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td> 
        </td> 
    </tr> 
</table> 
</td>

Posted: Tue Jan 30, 2007 6:39 am
by some.lin
ensure the "<td>","<tr>" tag to be closed.

Posted: Tue Jan 30, 2007 7:51 am
by brick
Hey that was close, the code did move the links under the logo. But it messed up the forum table. I tried to play with the code and didn't get anywhere. Anymore ideas? Brick

Posted: Wed Jan 31, 2007 5:26 am
by brick
Can any one til me how to move the nav links so that they are below the forum logo instead of beside it. And put them in a streight line.

example: with it centered


Image


FAQ Search Memberlist Usergroups Profile

Posted: Wed Jan 31, 2007 8:03 am
by brick
Hey I got it thanks for that help.

Posted: Wed Jan 31, 2007 11:43 pm
by mocap69
What is that file you opened?
I want to modify the menu and cannot find the source file.
HELP!!!
Thanks

Posted: Thu Feb 01, 2007 1:10 am
by Thatbitextra
It's overall_header.tpl.

Posted: Thu Feb 01, 2007 3:57 am
by mocap69
AWESOME!!
Thanks for the assist!!