Title: Changing Top margin
Last modified: July 18, 2018

---

# Changing Top margin

 *  Resolved [qrsinternational](https://wordpress.org/support/users/qrsinternational/)
 * (@qrsinternational)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/changing-top-margin/)
 * hello,
 * i am using your widgets on pages Plugin. it´s fine and works great, but i have
   a problem.
 * how i can change the margin (distance from the top an to the next) from a site
   widget?
 * the distance between the top to the first widget an to the next widget is very
   big, i don´t need it. how can i change ore remove this margin?
 * thank you very much for your support,
    michael
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fchanging-top-margin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [toddhalfpenny](https://wordpress.org/support/users/toddhalfpenny/)
 * (@toddhalfpenny)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/changing-top-margin/#post-10504134)
 * Hey @ ,
 * You can modify these with these CSS selectors; In the example below I’ve set 
   the values all to 0, but you can of course increase these if you want some spacing.
 *     ```
       .widgets_on_page > ul {
         margin-top: 0;
         margin-bottom: 0;
         padding-top: 0;
         padding-bottom: 0;
       }
       .widgets_on_page > ul li {
         margin-top: 0;
         margin-bottom: 0;
         padding-top: 0;
         padding-bottom: 0;
       }
       ```
   
 * Please let me know how you get on.
 *  Thread Starter [qrsinternational](https://wordpress.org/support/users/qrsinternational/)
 * (@qrsinternational)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/changing-top-margin/#post-10504164)
 * you are great, your answer is very fast.
    it works fine.
 * it is also possible to change the font-size from the headline (heading)?
 * thanks for further assisstence,
    michael
 *  Plugin Author [toddhalfpenny](https://wordpress.org/support/users/toddhalfpenny/)
 * (@toddhalfpenny)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/changing-top-margin/#post-10504175)
 * You’re very welcome.
    And yes this is quickly achievable too. Here is some demo
   code;
 *     ```
       .widgets_on_page h2.widgettitle {
         font-size: 1em;
         font-family: arial;
       }
       ```
   
 * And if you like the plugin, and support here, then a [nice 5* review](https://wordpress.org/support/plugin/widgets-on-pages/reviews/#new-post)
   would be greatly appreciated 😉
 *  Thread Starter [qrsinternational](https://wordpress.org/support/users/qrsinternational/)
 * (@qrsinternational)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/changing-top-margin/#post-10504237)
 * it works perfect.
    very good plugin and bery good support. i like it 🙂 thank
   you very much.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Changing Top margin’ is closed to new replies.

 * ![](https://ps.w.org/widgets-on-pages/assets/icon.svg?rev=1400727)
 * [Widgets on Pages](https://wordpress.org/plugins/widgets-on-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widgets-on-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widgets-on-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/widgets-on-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widgets-on-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widgets-on-pages/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [qrsinternational](https://wordpress.org/support/users/qrsinternational/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/changing-top-margin/#post-10504237)
 * Status: resolved