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.

Moving the navbar up & fixing search box

View previous topic View next topic Go down

Solved Moving the navbar up & fixing search box

Post by blindbat1457 on August 8th 2010, 11:54 am

So basically I want the navigation bar to move up like so
Before


After


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:


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, 8:40 am; edited 1 time in total

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 on August 9th 2010, 9:24 am

/bump

close enough to 24 hours lol

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 on August 10th 2010, 7:56 am

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
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 on August 10th 2010, 10:00 am

@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
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 on August 11th 2010, 7:39 am

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

Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 on August 11th 2010, 7:58 am

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
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 on August 11th 2010, 8:16 am

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
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 on August 11th 2010, 10:43 am

@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
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 on August 11th 2010, 11:23 pm

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
Forumaster

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

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 on August 11th 2010, 11:32 pm

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

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 on August 11th 2010, 11:41 pm

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
Forumaster

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

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 on August 11th 2010, 11:45 pm

@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
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 on August 12th 2010, 8:29 am

So, there is no problem any more?

Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 on August 12th 2010, 8:39 am

Nah Very Happy

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

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 on August 12th 2010, 8:45 am

Ok, happy to see this resolved

Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Solved Re: Moving the navbar up & fixing search box

Post by blindbat1457 on August 12th 2010, 8:46 am

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

Look at my forum now.. nicer ey?

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 on August 13th 2010, 3:55 pm

Solved > Locked

ankillien
Energetic

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

http://www.webartzforum.com/

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