Support » Fixing WordPress » How to stretch HOME content to full width

  • I used wordpress theme extension plugin to add a sidebar to my singe post pages. However, I do not want/have a sidebar for the home page but am at a loss in terms of how to get the content to stretch to the full width of the page
    (there is padding on both the right and left sides)

    I have played around with different aspects of the css style sheet but haven’t found the particular snippet of code to change this.

    I would really appreciate any help Home Page

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Andrew Nevins


    Forum moderator

    To only affect the home page, add this to the bottom of the stylesheet

    .home #content{
    margin: 0;

    and perhaps this one too

    .home .singular #content, .home .left-sidebar.singular #content {
    margin: 0;

    D M


    Best to make a Child Theme, because when the Twenty Eleven theme is automatically updated, as it usually is when WordPress is, everything you have altered will be lost.

    In that Child Theme will go:

    .home #content {
    margin: 0;
    width: 100%;

    This will only alter the width of the content within the default Home Page.
    There may other elements inside the content which may have to be altered in your theme’s .css.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to stretch HOME content to full width’ is closed to new replies.