The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Navbar edit

View previous topic View next topic Go down

Solved Navbar edit

Post by EverEffects on November 19th 2010, 2:30 am

I'd like to know how to put my nav bar at the VERY top of the page. Like above the banner and everything. I want it to be off the bodyline and all too.

I'm on phpbb2

EverEffects
Forumember

Posts : 105
Reputation : 1
Language : English

Back to top Go down

Solved Re: Navbar edit

Post by Jophy on November 19th 2010, 2:14 pm

Putting navigation bars on the top portion of the forum requires CSS codes. Wink

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Navbar edit

Post by Guest on November 19th 2010, 2:27 pm

go to
ACP - Display - Templates - General - Overall_header:
Find:
Code:
<table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
               <tr>
                  <td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
               </tr>
            </table>
Add:
Code:
class="navbar"
after:
Code:
<table

Save + Publish now go to ACP - Display - Colors - CSS stylesheet:
and add this code:
Code:
.navbar {position:absolute;
top:0px;}
Save.

Guest
Guest


Back to top Go down

Solved Re: Navbar edit

Post by EverEffects on November 20th 2010, 7:39 pm

Alright that worked, now how can I move my bodyline down some so the nave bar doesn't look to funny. lol

EverEffects
Forumember

Posts : 105
Reputation : 1
Language : English

Back to top Go down

Solved Re: Navbar edit

Post by Guest on November 20th 2010, 7:40 pm

put this in your CSS:
Code:
.bodylinewidth {margin-top: 40px;}

change the 40px; to make it fits (:

Guest
Guest


Back to top Go down

Solved Re: Navbar edit

Post by EverEffects on November 20th 2010, 7:52 pm

Thanks mate! You're a bunch of help!

EverEffects
Forumember

Posts : 105
Reputation : 1
Language : English

Back to top Go down

Solved Re: Navbar edit

Post by Guest on November 20th 2010, 7:54 pm

You're Welcome! Very Happy
Glad i could help (:
Solved & Locked

Guest
Guest


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum