Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey bud, here you go

    #content
    {
    width:1010px;
    margin-left:auto;
    margin-right:auto;
    }

    I just tested it and it works perfectly.
    let me know if this helps!

    Thread Starter andrew55

    (@andrew55)

    Michael,

    Thanks, but it didn’t work for me. When I put it in the style sheet, it pushed the right side bar to the bottom of page and pushed all the main content over to the left.

    I think I had tried that one before, but I tried it again.

    In know there has to be some fix for this.

    Are you using sidebars? If not, then you could use this snippet to set the sidebars to span1 or span2 and the main area to span10 or span8 respectively. The sidebars will be there, but you can just remove all the widgets–they’ll then be taking up the space, but will be invisible.

    Thread Starter andrew55

    (@andrew55)

    ElectricFeet,

    For pages with no sidebars, I was using this css I found on the net:

    .row-fluid .span9 {
    	width: 100% !important;
    	float: right; !important;
    }

    I’m not even sure if it’s safe, because it seems like it might effect other columns within the site, but it seems to work.

    But the pages in question DO have sidebars. I haven’t yet found a way to center these.

    No, it’s not safe; it could affect other pages. Did you try the snippet?

    May be you can learn something from the other thread that discussing a similar problem

    https://www.ads-software.com/support/topic/i-dont-want-a-full-width-layout-for-the-whole-website?replies=11

    Thread Starter andrew55

    (@andrew55)

    ElectricFeet – unfortunately, I am using sidebars. So it doesn’t look like your suggested snippet would work.

    sugaboss – I saw that already on my exaustive search ??

    That seems like a great option for the header and footer, but I’m trying to center the content area (middle section between the header and footer).

    Still looking for a fix for this.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘centered fixed width sitewide for content only’ is closed to new replies.