Title: Add padding above button
Last modified: January 22, 2021

---

# Add padding above button

 *  [nomadkaren](https://wordpress.org/support/users/nomadkaren/)
 * (@nomadkaren)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/add-padding-above-button/)
 * I’ve used the plugin to add the following shortcode, which creates a button in
   the menu –
 * [restaurant-menu-and-ordering ruid=”93de5ca0-00f3-4ee0-b8d4-e0fb0cb5e504″]
 * As you can see it’s not well aligned – how do I add some padding above it?
 * [https://snipboard.io/xTnXkG.jpg](https://snipboard.io/xTnXkG.jpg)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadd-padding-above-button%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Gagan Deep Singh](https://wordpress.org/support/users/gagan0123/)
 * (@gagan0123)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/add-padding-above-button/#post-13943818)
 * [@nomadkaren](https://wordpress.org/support/users/nomadkaren/)
 * Issue is not with the plugin, but with the styling of the element that is added
   via the shortcode.
 * You will need to work on the CSS of that element, in order to get it to move 
   where you want it to be.
 * As a temporary fix, you can add this CSS in your theme’s Custom CSS option:
 *     ```
       .menu-item-type-gs_sim .glf-button{
           margin-top: 28px;
       }
       ```
   
 * which would work fine for most desktop/laptop screens.
 * Here’s how you can do that, just in case you can’t find the option:
 * Let me know if it works or not.
 *  Plugin Author [Gagan Deep Singh](https://wordpress.org/support/users/gagan0123/)
 * (@gagan0123)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/add-padding-above-button/#post-13943838)
 * Just a correction, I noticed that the menu slides up a bit, when we scroll down,
 * to patch that, with a temporary fix, you can use this CSS instead:
 *     ```
       .menu-item-type-gs_sim .glf-button{
           margin-top: 28px;
       }
   
       header.fusion-header-wrapper.fusion-is-sticky .menu-item-type-gs_sim .glf-button{
           margin-top: 10px;
       }
       ```
   

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

The topic ‘Add padding above button’ is closed to new replies.

 * ![](https://ps.w.org/shortcode-in-menus/assets/icon-128x128.png?rev=1016813)
 * [Shortcode in Menus](https://wordpress.org/plugins/shortcode-in-menus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcode-in-menus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcode-in-menus/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcode-in-menus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcode-in-menus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcode-in-menus/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Gagan Deep Singh](https://wordpress.org/support/users/gagan0123/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/add-padding-above-button/#post-13943838)
 * Status: not resolved