Title: Vertical spacing &#8211; a css problem
Last modified: June 26, 2018

---

# Vertical spacing – a css problem

 *  Resolved [zakoops](https://wordpress.org/support/users/zakoops/)
 * (@zakoops)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/vertical-spacing-a-css-problem/)
 * Hello,
 * This plugin has a css problem that plays havoc with our theme. This is related
   to the “Blocks spacing” found in “Blocks Settings”, in the Configuration tab 
   of the “Advanced Gutenberg Settings” panel.
 * In your plugin, default for “Blocks spacing” is zero (0) px. With such setting,
   this style is inserted in the _head_ section for the frontend:
 *     ```
       <style id='dashicons-inline-css' type='text/css'>
       .entry-content > * {margin-bottom: 0px}
       </style>
       ```
   
 * As a reminder, class “entry-content” includes everything in a WordPress post 
   or page. Thus all of our finely tuned vertical spacings are rendered useless 
   because of this brute-force approach. And such vertical spacings will _significantly
   vary_ according to the tags used and contexts.
 * We could rectify this code in “advanced-gutenberg-main.php”:
 *     ```
       wp_add_inline_style(
                   'dashicons',
                   '.entry-content > * {margin-bottom: '.$blocks_spacing.'px}'
               );
       ```
   
 * But that’s not the right way…
 * We prefer instead deinstalling your plugin and wait for proper behaviour of an
   otherwise very good set of new blocks for the Gutenberg paradigm.
 * Thanks for looking into this matter!

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

 *  [JoomUnited](https://wordpress.org/support/users/joomunited/)
 * (@joomunited)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/vertical-spacing-a-css-problem/#post-10437391)
 * Hi,
 * Thanks you so much for reporting, indeed it does not seems right.
    We’ll produce
   a fix for that.
 * Cheers,
 *  [JoomUnited](https://wordpress.org/support/users/joomunited/)
 * (@joomunited)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/vertical-spacing-a-css-problem/#post-10439006)
 * We’ve created a fix, it’ll be included very soon in the stable release.
 * Thanks!
 *  Thread Starter [zakoops](https://wordpress.org/support/users/zakoops/)
 * (@zakoops)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/vertical-spacing-a-css-problem/#post-10440188)
 * JoomUnited deserves kudos for this prompt reply and plugin update.
 * Many thanks!
 *  [JoomUnited](https://wordpress.org/support/users/joomunited/)
 * (@joomunited)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/vertical-spacing-a-css-problem/#post-10440231)
 * Hi,
 * I’m glad your issue is addressed!
    If you like the plugin it would be cool to
   drop us a review, it really helps us especially our support team here. Direct
   review link: [https://wordpress.org/support/plugin/wp-latest-posts/reviews/](https://wordpress.org/support/plugin/wp-latest-posts/reviews/)
 * Thanks a lot!
 * Cheers,

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

The topic ‘Vertical spacing – a css problem’ is closed to new replies.

 * ![](https://ps.w.org/advanced-gutenberg/assets/icon-256x256.png?rev=3393761)
 * [PublishPress Blocks - Block Controls, Block Visibility, Block Permissions](https://wordpress.org/plugins/advanced-gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-gutenberg/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [JoomUnited](https://wordpress.org/support/users/joomunited/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/vertical-spacing-a-css-problem/#post-10440231)
 * Status: resolved