Forums / Templates, Stylesheets, Page Layout / How to remove search part in head menu and expand the head menu?

How to remove search part in head menu and expand the head menu?

Views: 1,306

Results 1 to 11 of 11
27 Sep 2011, 6:01 PM
#1
mdivk avatar

mdivk

Zen Follower

Join Date:
Sep 2011
Location:
Toronto, Ontario, Canada
Posts:
290
Plugin Contributions:
0

How to remove search part in head menu and expand the head menu?

my website is:
http://www.xiexianhui.com/food

I don't want another search box on the top menu, so I disabled it, however, the background is still showing there, and with a different gray color. I want to remove that part, and meanwhile, I want to expand the menu's width to let it occupy across and in the middle of the screen.

How do I make it? Thank you very much.:(

27 Sep 2011, 6:08 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to remove search part in head menu and expand the head menu?

The red and gray parts are all one image, so you would have to edit the image itself to make it look the way you want.

27 Sep 2011, 6:57 PM
#3
mdivk avatar

mdivk

Zen Follower

Join Date:
Sep 2011
Location:
Toronto, Ontario, Canada
Posts:
290
Plugin Contributions:
0

Re: How to remove search part in head menu and expand the head menu?

stevesh:

The red and gray parts are all one image, so you would have to edit the image itself to make it look the way you want.

Thank you Steve, then how do I shift the image a little bit right?

27 Sep 2011, 7:19 PM
#4
mdivk avatar

mdivk

Zen Follower

Join Date:
Sep 2011
Location:
Toronto, Ontario, Canada
Posts:
290
Plugin Contributions:
0

Re: How to remove search part in head menu and expand the head menu?

Also, why the very bottom my IP address is showing at the right and wrapped into two lines?:no::no::no:

Thanks.

29 Sep 2011, 7:15 PM
#5
mdivk avatar

mdivk

Zen Follower

Join Date:
Sep 2011
Location:
Toronto, Ontario, Canada
Posts:
290
Plugin Contributions:
0

Re: How to remove search part in head menu and expand the head menu?

No one can help me?:(

29 Sep 2011, 8:12 PM
#6
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: How to remove search part in head menu and expand the head menu?

Your header image is screwed up because it's 950px wide, and the style sheet is set at 1000px. You need to change that here:

#navMainWrapper {margin: 0em;background-image:url(../images/top-menu-bk1.jpg);font-weight: normal;color: #fffffe;height: 75px;width: 1000px; 50px;}

The best way to learn is to try stuff. But, back it up first.

30 Sep 2011, 12:28 AM
#7
mdivk avatar

mdivk

Zen Follower

Join Date:
Sep 2011
Location:
Toronto, Ontario, Canada
Posts:
290
Plugin Contributions:
0

Re: How to remove search part in head menu and expand the head menu?

RescoCCC:

Your header image is screwed up because it's 950px wide, and the style sheet is set at 1000px. You need to change that here:

#navMainWrapper {margin: 0em;background-image:url(../images/top-menu-bk1.jpg);font-weight: normal;color: #fffffe;height: 75px;width: 1000px; 50px;}

Problem is still there, I need to shift the image to the right a little bit

30 Sep 2011, 1:51 AM
#8
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: How to remove search part in head menu and expand the head menu?

You could try this:

#navMainWrapper {margin-left:XXpx; background-image:url(../images/top-menu-bk1.jpg);font-weight: normal;color: #fffffe;height: 75px;width: 950px; 50px;}

Adjust the XX until you get it where you want it. The other option would be to resize the header graphic to 1000px wide, and change the width back to 1000px.

The best way to learn is to try stuff. But, back it up first.

30 Sep 2011, 1:01 PM
#9
mdivk avatar

mdivk

Zen Follower

Join Date:
Sep 2011
Location:
Toronto, Ontario, Canada
Posts:
290
Plugin Contributions:
0

Re: How to remove search part in head menu and expand the head menu?

RescoCCC:

You could try this:

#navMainWrapper {margin-left:XXpx; background-image:url(../images/top-menu-bk1.jpg);font-weight: normal;color: #fffffe;height: 75px;width: 950px; 50px;}

Adjust the XX until you get it where you want it. The other option would be to resize the header graphic to 1000px wide, and change the width back to 1000px.

Thank you for your suggestion but it is just not working! How come?:(:(:(

30 Sep 2011, 1:15 PM
#10
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to remove search part in head menu and expand the head menu?

Because you're adding margin, then setting it back to 0. Remove the red part:

#navMainWrapper {margin-left:50px; margin: 0em;background-image:url(../images/top-menu-bk1.jpg);font-weight: normal;color: #fffffe;height: 75px;width: 950px; 50px;}

30 Sep 2011, 5:11 PM
#11
mdivk avatar

mdivk

Zen Follower

Join Date:
Sep 2011
Location:
Toronto, Ontario, Canada
Posts:
290
Plugin Contributions:
0

Re: How to remove search part in head menu and expand the head menu?

Thank you very much, it is working as expected now.
:hug::hug::hug: