Support » Theme: Twenty Eleven » Change right margin in right content, left sidebar layout

  • Jess271


    In the Twenty Eleven theme, using a child theme, I have tried every suggestion for changing the right margin/padding in the left-sidebar, right-content layout. I piddled mostly with the below:
    #primary {
    float: left;
    margin: 0 -26.4% 0 0;
    width: 100%;
    #content {
    margin: 0 34% 0 7.6%;
    width: 58.4%;
    #secondary {
    float: right;
    margin-right: 7.6%;
    width: 18.8%;

    It didn’t work. And yes, I tried several adjustments that resulted in the total equaling 100%. It still didn’t work.

    The website is I’m trying to get the “fern” image to shift to the right margin next to the outer gray border. If this also causes text to butt against the border, that will also need to be fixed; so that would be another question.

    I spent about 12 hours searching for an answer to this and tried endless suggestions that apparently worked for some users, but did not work for me, so please don’t ask me to first search. This is my last resort before using another program – or handcoding HTML. Thanks.

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


    Front-end developer

    You probably spent so long researching answers on these forums because it is not a WordPress issue. It is a CSS issue.
    Continue your search on CSS forums like



    It’s a WordPress issue because the issue is selecting the correct css to change. Similar questions are asked and responded to all over this forum. The margin/padding issue is common with WordPress themes. I’ve modified a lot of css in the child template, but still something is missing because the spacing in the right margin does not change.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change right margin in right content, left sidebar layout’ is closed to new replies.