• aasbd

    (@aasbd)


    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 https://www.aas-bd.com.

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi

    (@esmi)

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

    WPyogi

    (@wpyogi)

    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%;
    }

    Thread Starter aasbd

    (@aasbd)

    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?

    WPyogi

    (@wpyogi)

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

    Thread Starter aasbd

    (@aasbd)

    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.

    WPyogi

    (@wpyogi)

    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…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change Padding from both side of twenty eleven theme’ is closed to new replies.