The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Navbar edit

2 posters

Go down

Solved Navbar edit

Post by EverEffects Fri 19 Nov 2010, 01:30

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
EverEffects
Forumember

Posts : 105
Reputation : 1
Language : English

Back to top Go down

Solved Re: Navbar edit

Post by Jophy Fri 19 Nov 2010, 13:14

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

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

Back to top Go down

Solved Re: Navbar edit

Post by Guest Fri 19 Nov 2010, 13:27

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.
avatar
Guest
Guest


Back to top Go down

Solved Re: Navbar edit

Post by EverEffects Sat 20 Nov 2010, 18:39

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

Posts : 105
Reputation : 1
Language : English

Back to top Go down

Solved Re: Navbar edit

Post by Guest Sat 20 Nov 2010, 18:40

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

change the 40px; to make it fits (:
avatar
Guest
Guest


Back to top Go down

Solved Re: Navbar edit

Post by EverEffects Sat 20 Nov 2010, 18:52

Thanks mate! You're a bunch of help!
EverEffects
EverEffects
Forumember

Posts : 105
Reputation : 1
Language : English

Back to top Go down

Solved Re: Navbar edit

Post by Guest Sat 20 Nov 2010, 18:54

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


Back to top Go down

Back to top

- Similar topics

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