Adding Space Between Widget Title & Widget Content

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6463 Reply

    Len W. Brown

    I’m trying to add a bit of space between the title of widgets and the widget content on the sidebar using your Asteroid theme.

    I’m using an Asteroid child theme and have been trying different CSS attempts to have “padding-top” at 10px or so, but I can’t seem to identify exactly where that is on the original Asteroid theme to replace or add it to the child. I insured there is no br or &nbsp below the content of the widgets as well.

    Here’s an example from my site. I would like the upper and lower space on my sidebar widget content to be evenly spaced.

    Thanks so much for your help!

    – Len

    #6465

    Ron
    Keymaster

    Adding a bottom margin to the title works for me:

    .widget-sidebar .widget-title {
        margin-bottom: 10px;
    }
    #6469

    Len W. Brown

    Brilliant! Works great for me too. I changed the px to 27 since I did change some of the other css measurements and it is now spaced on all my widgets perfectly.

    Again, thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Adding Space Between Widget Title & Widget Content
Your information: