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.

Moving the navbar up & fixing search box

4 posters

Go down

Solved Moving the navbar up & fixing search box

Post by blindbat1457 August 8th 2010, 12:54

So basically I want the navigation bar to move up like so
Before
Moving the navbar up & fixing search box Navbar10

After
Moving the navbar up & fixing search box Navbar11

As you can tell the gray line in between is covered by the navbar.
I also want to hide the default links and make my own custom links. As you can tell the links are white now and look like so:

Home | Portal | FAQ | Search | Member List | Profile | Messages | Log Out

Okay hopefully your following me because here comes the tricky part. I still want the messages link to display "New Message" when someone receives a new one. Unless there is a way to override the default links and hide some.

Also I effed something up and not quite sure what happened but now the search bar is in gibberish or code.
Like so:
Moving the navbar up & fixing search box Search10

Now I already figured out how to move the search bar just need help fixing this gibberish. It has nothing to do with the CSS because it was like that once I imported my theme.


Last edited by blindbat1457 on August 12th 2010, 09:40; edited 1 time in total
blindbat1457
blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 August 9th 2010, 10:24

/bump

close enough to 24 hours lol
blindbat1457
blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by Darren1 August 10th 2010, 08:56

Hi,

I'm sure we can move the nav. bar up via templates, Ive seen the code for it somewhere.
Are you willing to edit the templates?

EDIT1:
Found it again lol
God I hate obsolete phpbb2 coding
Now, are you using your banner left, right or centred?

EDIT2: Hmm, that didn't really move it, I'll keep trying

EDIT3: can you post the link to your forum & inform us if you have edited the CSS or templates?

EDIT4:
Found it perfectly & backups Cool
Go to your template General/Overall_header_new and press CTRL+F and insert this into the popup box GENERATED and you should come up with this code
Code:
<table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
               <tr>
                  <td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
               </tr>
            </table>
remove this code, I mean deleted it.
Now, copy this code: {GENERATED_NAV_BAR}
and scroll up your templates to locate: alt="{L_INDEX}" vspace="1" /></a> and immediately after it add{GENERATED_NAV_BAR} ( hit the space bar once then paste the code) and repeat that for the other 2 times you should see that code.
Now save & publish the code Smile
So you should come up with a result like my test forum has http://testorial.forumotion.com Wink
Darren1
Darren1
Helper
Helper

Male Posts : 11853
Reputation : 566
Language : English

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 August 10th 2010, 11:00

Darren1 wrote:Hi,

I'm sure we can move the nav. bar up via templates, Ive seen the code for it somewhere.
Are you willing to edit the templates?

EDIT1:
Found it again lol
God I hate obsolete phpbb2 coding
Now, are you using your banner left, right or centred?

EDIT2: Hmm, that didn't really move it, I'll keep trying

EDIT3: can you post the link to your forum & inform us if you have edited the CSS or templates?

EDIT4:
Found it perfectly & backups Cool
Go to your template General/Overall_header_new and press CTRL+F and insert this into the popup box GENERATED and you should come up with this code
Code:
<table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
               <tr>
                  <td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
               </tr>
            </table>
remove this code, I mean deleted it.
Now, copy this code: {GENERATED_NAV_BAR}
and scroll up your templates to locate: alt="{L_INDEX}" vspace="1" /></a> and immediately after it add{GENERATED_NAV_BAR} ( hit the space bar once then paste the code) and repeat that for the other 2 times you should see that code.
Now save & publish the code Smile
So you should come up with a result like my test forum has http://testorial.forumotion.com Wink

I have a test forum.. I will toss you the link in PM
blindbat1457
blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by Darren1 August 11th 2010, 08:39

So, what do you want me to do at your test forum?
Darren1
Darren1
Helper
Helper

Male Posts : 11853
Reputation : 566
Language : English

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 August 11th 2010, 08:58

Basically I want to move up the navbar to touch the banner. I am sure I can make a CSS code to ignore the top round edges on the nav bar and the bottom round edges on the banner. Also if it isn't to much to ask can you help me out with the search bar. I want it in the top corner of the banner like it is now but when I scale down my browser it moves :/

EDIT: I just realized I cannot template edit as I am on phpbb3. If I have to I will move down to phpbb2 just need to remake the theme.
blindbat1457
blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by Darren1 August 11th 2010, 09:16

You could always use the more CSS-flexible PunBB & template editing Wink
But phpbb2 also has template editing.
I assumed you were using phpbb2 by looking at your profile showing phpbb2.

My test forum is about the closest you can get to my knowledge with template editing.

No I can't help you with the search bar, I don't know that much CSS Wink
Darren1
Darren1
Helper
Helper

Male Posts : 11853
Reputation : 566
Language : English

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 August 11th 2010, 11:43

Darren1 wrote:You could always use the more CSS-flexible PunBB & template editing Wink
But phpbb2 also has template editing.
I assumed you were using phpbb2 by looking at your profile showing phpbb2.

My test forum is about the closest you can get to my knowledge with template editing.

No I can't help you with the search bar, I don't know that much CSS Wink

Well I am not sure about PunBB I never used it and already have a theme in progress on phpbb3 :/ I need it done in the next few days.
blindbat1457
blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by kirk August 12th 2010, 00:23

you know what i would do.
i would just take out the logo in the pic's management. then upload to a image host.. place it in center tags and put it at the very top of the over header template above all other content.

this will give it the appearance that it has been moved when it fact it hasn't.. you are just place in the logo in the template.

then as far as the search bar.
you can put that anywhere you want you just have to move it.

code for you logo real easy.

take the image link form youR logo in pic's management and place it in the code below.

Code:
<center><img src="YOUR IMAGE LINK HERE" border="0" alt="" /></center>

oh be sure to remove the logo form your pics management too.. or it will be showing twice... lol
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 August 12th 2010, 00:32

yeah lol well I went back down to phpbb2 but thanks for the reply.
blindbat1457
blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by kirk August 12th 2010, 00:41

well template edit can only be done on phbb2 and punbb.. and i sint see the serch bar on you r forum so i guess you worked that out to?
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 August 12th 2010, 00:45

kirk wrote:well template edit can only be done on phbb2 and punbb.. and i sint see the serch bar on you r forum so i guess you worked that out to?

Well I moved down to phpbb2 and yeah everything is going smoothly now.
blindbat1457
blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by Darren1 August 12th 2010, 09:29

So, there is no problem any more?
Darren1
Darren1
Helper
Helper

Male Posts : 11853
Reputation : 566
Language : English

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 August 12th 2010, 09:39

Nah Very Happy

Plus I learned how to move the header on phpbb3 from another thread.
blindbat1457
blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by Darren1 August 12th 2010, 09:45

Ok, happy to see this resolved
Darren1
Darren1
Helper
Helper

Male Posts : 11853
Reputation : 566
Language : English

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 August 12th 2010, 09:46

Darren1 wrote:Ok, happy to see this resolved
Same Smile

Look at my forum now.. nicer ey?
blindbat1457
blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by ankillien August 13th 2010, 16:55

Solved > Locked
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Back to top


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