WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Eleven
Change right margin in right content, left sidebar layout (3 posts)

  1. Jess271
    Member
    Posted 1 year ago #

    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 http://www.lesliemweller.com. 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.

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    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 http://CSSCreator.com/forum

  3. Jess271
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic