WordPress.org

Forums

Twenty Twelve
[resolved] Remove Excess space left and right of content and sidebar (10 posts)

  1. twebdonny
    Member
    Posted 2 years ago #

    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

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    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.

  3. twebdonny
    Member
    Posted 2 years ago #

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

  4. WPyogi
    Forum Moderator
    Posted 2 years ago #

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

    .site {
        max-width: 68.5714rem;
    }
  5. twebdonny
    Member
    Posted 2 years ago #

    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.

  6. twebdonny
    Member
    Posted 2 years ago #

    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

  7. WPyogi
    Forum Moderator
    Posted 2 years ago #

    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.

  8. mrsplat06
    Member
    Posted 2 years ago #

    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.

  9. WPyogi
    Forum Moderator
    Posted 2 years ago #

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

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

  10. twebdonny
    Member
    Posted 2 years ago #

    Thanks all

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.