Put Navigation Bar at top of page?
3 posters
Page 1 of 1
Put Navigation Bar at top of page?
Is it possible to put the Nav. bar above the banner on every Page? Or Connect the Nav Bar to the Banner?
102- Forumember
- Posts : 59
Reputation : 0
Language : English
Re: Put Navigation Bar at top of page?
Hello,
Yes, it can be done. Can you provide a link to your forum so that I can gice you more guidelines?
Yes, it can be done. Can you provide a link to your forum so that I can gice you more guidelines?
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
102- Forumember
- Posts : 59
Reputation : 0
Language : English
Re: Put Navigation Bar at top of page?
Thanks
Please navigate to Admin PC > Display > Templates > General > overall_header_new
Find this code in the template...
Cut it from there and find this code...
Paste that code right after the above code.
Now save the template and publish it. See if it works
Please navigate to Admin PC > Display > Templates > General > overall_header_new
Find this code in the template...
- Code:
<table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
<tr>
<td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
</tr>
</table>
Cut it from there and find this code...
- Code:
<td class="bodyline">
Paste that code right after the above code.
Now save the template and publish it. See if it works
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Put Navigation Bar at top of page?
I tried this, and didn't really like it. Is there a way for the Nav. Bar to scroll WITH the browser,on the side of the screen, so it is always on the screen?
102- Forumember
- Posts : 59
Reputation : 0
Language : English
Re: Put Navigation Bar at top of page?
In the same template, find this code...
Replace it with this one...
Now, navigate to Admin CP > Display > Colors > CSS
Add this code there...
- Code:
<table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
<tr>
<td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
</tr>
</table>
Replace it with this one...
- Code:
<table id="scroll-nav-bar" cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
<tr>
<td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
</tr>
</table>
Now, navigate to Admin CP > Display > Colors > CSS
Add this code there...
- Code:
#scroll-nav-bar {
position : fixed;
top : 0px; left : 20px;
padding : 5px;
background : WHITE;
border : 1px solid black;
}
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Put Navigation Bar at top of page?
Could this be going down the screen instead of across?
102- Forumember
- Posts : 59
Reputation : 0
Language : English
Re: Put Navigation Bar at top of page?
Sorry, I don't get what you mean.
You want to place the navbar on bottom?
You want to place the navbar on bottom?
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Put Navigation Bar at top of page?
I
w
a
n
t
t
h
e
b
a
r
2
g
o
l
i
k
e
t
h
i
s
w
a
n
t
t
h
e
b
a
r
2
g
o
l
i
k
e
t
h
i
s
102- Forumember
- Posts : 59
Reputation : 0
Language : English
Re: Put Navigation Bar at top of page?
May I remind you that double/triple posting isn't tolerated unless separated by 24 hours (Use the edit button)
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Put Navigation Bar at top of page?
I don't think it is possible with phpBB2.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Put Navigation Bar at top of page?
ankillien wrote:I don't think it is possible with phpBB2.
Ok, But could I put the scrolling one on the Bottom of the browser?
102- Forumember
- Posts : 59
Reputation : 0
Language : English
Re: Put Navigation Bar at top of page?
In your CSS, replace this code...
with this one...
- Code:
#scroll-nav-bar {
position : fixed;
top : 0px; left : 20px;
padding : 5px;
background : WHITE;
border : 1px solid black;
}
with this one...
- Code:
#scroll-nav-bar {
position : fixed;
bottom : 0px; left : 20px;
padding : 5px;
background : WHITE;
border : 1px solid black;
}
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Put Navigation Bar at top of page?
Thanks,I'm all set!
102- Forumember
- Posts : 59
Reputation : 0
Language : English
Re: Put Navigation Bar at top of page?
Since this thread appears to be solved, I will lock this thread and mark it as solved.
Sanket
Sanket
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Similar topics
» Page navigation
» How to set the page in the navigation.
» HOW to add a navigation button and a new page???
» Need help moving Navigation bar more into the center of page
» Additional navigation by page number
» How to set the page in the navigation.
» HOW to add a navigation button and a new page???
» Need help moving Navigation bar more into the center of page
» Additional navigation by page number
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum