• Theme is to thin. I want to stretch it out to the left and to the right.

    Child theme – Is done

    If I put in: (does not work)

    #page {
    max-width: 1000px;
    }

    Want to stretch out entire page. thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Which layout are you using? Left sidebar, Right sidebar, or no sidebar?

    If no sidebar, add:

    .one-column #page {
    max-width: 1000px;
    }

    or the width you desire.

    Thread Starter xkaijinx

    (@xkaijinx)

    I am using twentyeleven theme. Looks like there is alot of CSS for the left sidebar.

    That code didn’t work, what exactly would I have to change on the left sidebar? There is about 5-7 different classes for them.

    I am quite sure it does work based on an understanding of CSS and my reply… positive.

    there are also these styles which control the content width of a page/post:

    .singular .entry-header,
    .singular .entry-content,
    .singular footer.entry-meta,
    .singular #comments-title {
    	margin: 0 auto;
    	width: 68.9%;
    }

    and this one controlling the margins:

    .singular #content,
    .left-sidebar.singular #content {
    	margin: 0 7.6%;
    	position: relative;
    	width: auto;
    }

    have you tried to work with Firebug https://getfirebug.com/ or a similar tool to find out more about which styles are involved?

    btw:
    you seem to have copied the full stylesheet of the parent theme to the the end of style.css of your child theme – which cannot work as this will overwrite any of your edits with the original formatting.

    Which layout are you using? Left sidebar, Right sidebar, or no sidebar?

    If no sidebar, add:

    I am using twentyeleven theme. Looks like there is alot of CSS for the left sidebar.

    That code didn’t work, what exactly would I have to change on the left sidebar? There is about 5-7 different classes for them.

    Again, to be clear, that works when you choose the option for no sidebar..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Stretch the Twenty Eleven Theme’ is closed to new replies.