If this is your first visit, check our documentation. To post, register or login.

Change width of the body not the header?

Started by enjoiracin on 13 Jun 2011, 7:15 PM · Views: 698

Results 1 to 5 of 5
13 Jun 2011, 7:15 PM
#1
enjoiracin avatar

enjoiracin

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

Change width of the body not the header?

My website is this: http://www.kabobeesh.com/order

As you can see my entire site is stretched out 100% of the screen.
What I wanted know was: Can I have only the "logo banner" and the "navigation bar" stretch out 100% of the screen and have rest of the site at a width of 900px?

Is this possible in any way?

13 Jun 2011, 7:34 PM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Change width of the body not the header?

enjoiracin:

My website is this: http://www.kabobeesh.com/order

As you can see my entire site is stretched out 100% of the screen.
What I wanted know was: Can I have only the "logo banner" and the "navigation bar" stretch out 100% of the screen and have rest of the site at a width of 900px?

Is this possible in any way?

You can try adding the following to your stylesheet.css

#contentMainWrapper {
margin: 0 auto;
width:90% !important;
}

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

13 Jun 2011, 8:17 PM
#3
enjoiracin avatar

enjoiracin

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

Re: Change width of the body not the header?

That worked perfectly but how do I align the bottom part to be centered?

Thanks for the help.

13 Jun 2011, 8:46 PM
#4
enjoiracin avatar

enjoiracin

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

Re: Change width of the body not the header?

Never mind...I figured it out.

Thanks again.

13 Jun 2011, 9:30 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,748
Plugin Contributions:
0

Re: Change width of the body not the header?

Please explain your solution. Your answer might help someone else.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.