• Resolved jackiesellers

    (@jackiesellers)


    I would like to reduce the height of the margin/padding in the header and footer of widgets in my post sidebar? There seems to be a huge gap between widgets which I don’t like.

    Could anyone help me with the CSS for this in the Goran theme?

    Thanks in advance
    Jacks19

Viewing 1 replies (of 1 total)
  • Moderator Kathryn Presner

    (@zoonini)

    You can reduce the space above and below sidebar widgets with this custom CSS:

    #secondary .widget {
      padding-top: 10px;
      padding-bottom: 10px;
    }

    Just adjust 10px to whatever value you like.

    Don’t edit the theme files directly, otherwise your changes will be overwritten whenever the theme is updated.

    An easy way to add custom CSS is to install the Jetpack plugin and activate the Custom CSS module. You’ll then add your custom CSS in the new stylesheet editor that’ll appear in your dashboard, under Appearance > Edit CSS.

    As alternatives, you could either install a standalone custom CSS plugin, or create a child theme.

Viewing 1 replies (of 1 total)
  • The topic ‘Goran Widget Header/footer size’ is closed to new replies.