Viewing 15 replies - 1 through 15 (of 16 total)
  • Generally in the CSS code — but specifics depend on what padding. Are you using Firebug to work with the CSS?

    Thread Starter aasbd

    (@aasbd)

    Yes, firebug works. I want to change left, right and bottom padding. If I want zero for all how can I do it?

    left, right and bottom of what? Which element?

    Thread Starter aasbd

    (@aasbd)

    I mean make padding zero from left, right and from bottom of my site.

    This is the padding on the sides of the pages:

    body {
        padding: 0 2em;
    }

    There is no padding on the bottom of the pages, but perhaps you mean padding in the footer section — which is here:

    #site-generator {
        background: none repeat scroll 0 0 #F9F9F9;
        border-top: 1px solid #DDDDDD;
        color: #666666;
        font-size: 12px;
        line-height: 2.2em;
        padding: 2.2em 0.5em;
        text-align: center;
    }

    Be sure to copy the relevant code changes to your child theme and make them there.

    Thread Starter aasbd

    (@aasbd)

    Thanks for help. It worked for footer section but in body it did not work. I put body {padding: 0 2em;} this code in style.css section but it did not work. Would you kindly check again?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Firebug should provide enough tools for you to explore CSS-based issues.
    http://getfirebug.com/faq/

    Thread Starter aasbd

    (@aasbd)

    I am already using firebug but I am not sure where I have to put that code in source code.

    If you want to reduce the padding, you need to remove the 2 in the above code.

    Thread Starter aasbd

    (@aasbd)

    Thanks a lot. It worked.

    Thread Starter aasbd

    (@aasbd)

    I see a very little white gap on the left side but the right site is OK. I am not sure how to fix this left side padding problem.Any help in this regard will be appreciated.

    Sorry, I’m not sure where you mean — the left side of what part of your site? The whole page, the content, the sidebar, etc.

    Thread Starter aasbd

    (@aasbd)

    I mean left side of menubar and footer of my site and probably in body too. If you look footer of my site you will see a little white gap in the left side of footer and menu bar. How can I do it into zero?

    I don’t see any white gaps — sorry. I do see the grey margin space around the entire site? Is that what you mean?

    Thread Starter aasbd

    (@aasbd)

    May be it is caused for my monitor.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Padding removal’ is closed to new replies.