WordPress.org

Ready to get started?Download WordPress

Forums

Padding removal (17 posts)

  1. aasbd
    Member
    Posted 1 year ago #

    I am not sure how to remove padding from my site. Any help will be appreciated. http://www.aas-bd.com

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Generally in the CSS code -- but specifics depend on what padding. Are you using Firebug to work with the CSS?

  3. aasbd
    Member
    Posted 1 year ago #

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

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    left, right and bottom of what? Which element?

  5. aasbd
    Member
    Posted 1 year ago #

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

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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.

  7. aasbd
    Member
    Posted 1 year ago #

    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?

  8. Andrew
    Forum Moderator
    Posted 1 year ago #

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

  9. aasbd
    Member
    Posted 1 year ago #

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

  10. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

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

  11. aasbd
    Member
    Posted 1 year ago #

    Thanks a lot. It worked.

  12. aasbd
    Member
    Posted 1 year ago #

    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.

  13. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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.

  14. aasbd
    Member
    Posted 1 year ago #

    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?

  15. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

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

  16. aasbd
    Member
    Posted 1 year ago #

    May be it is caused for my monitor.

  17. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic