WordPress.org

Ready to get started?Download WordPress

Forums

Change Padding from both side of twenty eleven theme (7 posts)

  1. aasbd
    Member
    Posted 1 year ago #

    It looks a lot of space in both left and right site of my site. Can any of you help me to reduce the padding from both the sides. URL of my site is http://www.aas-bd.com.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Try using Firefox with the Firebug add-on for this kind of child-theme CSS work.
    http://getfirebug.com/

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Look at these:

    #branding hgroup {
       margin: 0 7.6%;
    }
    
    #access div {
       margin: 0 7.6%;
    }
    
    .left-sidebar #secondary {
       margin-left: 7.6%;
    }
    
    .left-sidebar #content {
       margin: 0 7.6% 0 34%;
       width: 58.4%;
    }
  4. aasbd
    Member
    Posted 1 year ago #

    Thanks a lot. It worked fine. But how to change the margine between left sidebar and main body content. In my site it looks many space between left site bar and in main content page. How can I reduce it?

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    It's the width in the last CSS section above.

  6. aasbd
    Member
    Posted 1 year ago #

    I have added the last code also but there is no change. Would you kindly check again? I wanted to change the main body content left margin. Not Side bar margin.

  7. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You need to change the width and the left margin in this:

    .left-sidebar #content {
       margin: 0 7.6% 0 34%;
       width: 58.4%;
    }

    And as has been suggested many times, you really need to learn how to use Firebug so you can sort these out...

Topic Closed

This topic has been closed to new replies.

About this Topic