Support » Theme: Twenty Twelve » Remove Excess space left and right of content and sidebar

  • Resolved twebdonny

    (@twebdonny)


    How can I remove the excess space to the left and right of my content and right sidebar?

    I know I can do full width without sidebar as an option but would like
    to retain the sidebar.

    The display is fine on an Ipad but has the empty spaced columns on a regular PC screen

    Thanks

    see http://www.travel-ascending.com

Viewing 9 replies - 1 through 9 (of 9 total)
  • esmi

    (@esmi)

    Forum Moderator

    Do not edit the Twenty Twelve theme. It is the current default WordPress theme and having access to an original, unedited, copy of the theme is vital in many situations. First create a child theme for your changes. Or install a custom CSS plugin.

    Thanks, but any info on the original question as I have installed a custom CSS plugin?

    You can add this – and change the max-width, but it may look odd on large screens:

    .site {
        max-width: 68.5714rem;
    }

    Thanks I added it using one of those custom css plugins and it had no effect. I will try and figure out the child theme setup and try it there.

    Update: Found an update to the child style.css that reads as follows:

    /* remove site margin */
    body .site{margin:0;max-width: 100%;}

    This works however I now am encountering another problem.

    Whatever I use in my TwentyTwelve Background is no longer
    showing up in the web page. I initially see it for a few seconds
    and then it reverts to default Background.

    I also have added this to my style.css so as to change
    background color on menu
    .nav-menu {
    background: #EAE4F2;
    }

    Is this the offending code and why is it affecting background images and or color ?

    Thanks

    You don’t have any background because of the width you changed. The custom background is only visible outside what you have now made 100% width. Try changing that to 90% and you’ll see background.

    My site is not viewing full width, but the template says it’s a full width template. I haven’t modified any of the code.

    http://redesign.asacdst.org

    Please help.

    @mrsplat06 – you are not using this theme – please start your own thread – here in twentyeleven forum:

    http://wordpress.org/support/theme/twentyeleven#postform

    Thanks all

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Remove Excess space left and right of content and sidebar’ is closed to new replies.