Adjusting space between widgets in sidebar

  • Author
    Posts
  • #67839

    Hi,

    I’m trying to close up the vertical space between the widgets in the sidebar. I searched the forum for this issue and tried the code below, which will add space, but does not sam to react to a negative number.

    .widget {
    padding-top: 0px;
    padding-bottom: 0px;
    }

    Thanks for your help.

    The blog I need help with is culturefeeder.com.

    #68007

    calvinjamescoles
    Theme Author

    Hello!
    Might be a problem with the widget code overriding the CSS. Try adding !important to the attributes:

    .widget {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    }

    Hope that helps!

    #68022

    The code you suggested still doesn’t reduce the vertical space. It will increase the space if I had a number higher than zero, but a negative number has no effect. At zero there is about 1/2 inch of space between widgets. Thanks for your help. if you have any other ideas, please let me know.

The topic ‘Adjusting space between widgets in sidebar’ is closed to new replies.