Title: Padding above &amp; under
Last modified: April 12, 2022

---

# Padding above & under

 *  [IvanSliskovic](https://wordpress.org/support/users/ivansliskovic/)
 * (@ivansliskovic)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/padding-above-under/)
 * How to set up padding under the AdSense? I would like to be like the one above.
   
   [Image](https://ibb.co/PrYC9Wn)
 * This happens on all pages and posts where I have Google AdSense
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpadding-above-under%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/padding-above-under/#post-15551214)
 * Hi there,
 * try adding this CSS to your site:
 *     ```
       .ap_container {
           margin-bottom: 2em;
       }
       ```
   
 *  Thread Starter [IvanSliskovic](https://wordpress.org/support/users/ivansliskovic/)
 * (@ivansliskovic)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/padding-above-under/#post-15551227)
 * Yes, it works. Thanks. If there isn’t much trouble, what could work in px instead
   of em?
 *  [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/padding-above-under/#post-15551265)
 * Try:
 *     ```
       .ap_container {
           margin-bottom: 30px;
       }
       ```
   
 *  Thread Starter [IvanSliskovic](https://wordpress.org/support/users/ivansliskovic/)
 * (@ivansliskovic)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/padding-above-under/#post-15551326)
 * Yes, 30px works also. I decided to go with 2em. Suppose it is the better way 
   🙂
 * Thanks
 *  [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/padding-above-under/#post-15551471)
 * You’re welcome

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

The topic ‘Padding above & under’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/generatepress/3.6.1/screenshot.
   png)
 * GeneratePress
 * [Support Threads](https://wordpress.org/support/theme/generatepress/)
 * [Active Topics](https://wordpress.org/support/theme/generatepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/generatepress/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/generatepress/reviews/)

## Tags

 * [padding](https://wordpress.org/support/topic-tag/padding/)

 * 5 replies
 * 2 participants
 * Last reply from: [David](https://wordpress.org/support/users/diggeddy/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/padding-above-under/#post-15551471)
 * Status: not resolved