Title: Padding issues
Last modified: February 5, 2019

---

# Padding issues

 *  Resolved [ColBrewer](https://wordpress.org/support/users/colbrewer/)
 * (@colbrewer)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/padding-issues-3/)
 * Hi,
 * Theres some padding being added to the body of my site which is affecting the
   layout when the site is responding to the width of my broswer – it kicks in when
   the mobile menu appears or disappears.
 * This issue doesn’t show when I deactive the mobile menu plugin.
 * See below the inline style=”padding-top: 85px; padding-bottom: 0px;” being injected
   into the body – I think this is the issue?
 * <body itemtype=”[https://schema.org/WebPage&#8221](https://schema.org/WebPage&#8221);
   itemscope=”itemscope” class=”home page-template-default page page-id-554 logged-
   in wp-custom-logo siteorigin-panels siteorigin-panels-home no-sidebar nav-float-
   right contained-header one-container active-footer-widgets-3 nav-aligned-right
   header-aligned-left dropdown-hover mob-menu-slideout-over” style=”padding-top:
   85px; padding-bottom: 0px;” cz-shortcut-listen=”true”>
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpadding-issues-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [ColBrewer](https://wordpress.org/support/users/colbrewer/)
 * (@colbrewer)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/padding-issues-3/#post-11170329)
 * maybe helpful…
 * I’ve noticed that if you go from mobile width in your browser to desktop you 
   get:
 * style=”padding-top: 85px; padding-bottom: 0px;”
 * If you start from desktop width to mobile width by resizing your browser you 
   get:
 * style=”padding-top: 0px; padding-bottom: 0px;”
 * Which give different problems for me layout wise.
    -  This reply was modified 7 years, 3 months ago by [ColBrewer](https://wordpress.org/support/users/colbrewer/).
 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/padding-issues-3/#post-11172182)
 * [@colbrewer](https://wordpress.org/support/users/colbrewer/) That padding-top
   is on purpose so the content of your website isn’t cut off by the Mobile Header.
 * this padding only exists when the Mobile Menu is visible so it’s normal to be
   85px when the mobile menu is visible and 0 when it isn’t visible.
 * At the moment when you force it to zero you are cutting part of the sentence “
   We are experts in Salesforce consultancy, configuration, design and development.”
 *  Thread Starter [ColBrewer](https://wordpress.org/support/users/colbrewer/)
 * (@colbrewer)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/padding-issues-3/#post-11193453)
 * I’m not sure I’m adding that padding: 0 on the body. Its being generated by the
   plugin.
 * When I deactivate the mobile menu plugin the ‘bug’ doesn’t appear.
 * Also:
 * “I’ve noticed that if you go from mobile width in your browser to desktop you
   get:
 * style=”padding-top: 85px; padding-bottom: 0px;”
 * If you start from desktop width to mobile width by resizing your browser you 
   get:
 * style=”padding-top: 0px; padding-bottom: 0px;”
 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/padding-issues-3/#post-11194739)
 * That padding that you see in isn’t added by WP Mobile Menu. Check my screenshot.
   
   [https://cl.ly/2d44eab6a40c](https://cl.ly/2d44eab6a40c)
 * Also there is some other paddings that are part of your main content like that
   white part below the header.
 * Can you provide further details of what you would like to look different and 
   in what situation to see what I can do to help you?
 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/padding-issues-3/#post-11235629)
 * Will close the topic for now.
    Let me know if you need further help with this.

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

The topic ‘Padding issues’ is closed to new replies.

 * ![](https://ps.w.org/mobile-menu/assets/icon-128x128.png?rev=1890426)
 * [WP Mobile Menu - The Mobile-Friendly Responsive Menu](https://wordpress.org/plugins/mobile-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mobile-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mobile-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/mobile-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mobile-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mobile-menu/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/padding-issues-3/#post-11235629)
 * Status: resolved