Title: Padding issue
Last modified: September 14, 2018

---

# Padding issue

 *  Resolved [Rokeybur Rahman](https://wordpress.org/support/users/rokeyfx/)
 * (@rokeyfx)
 * [8 years ago](https://wordpress.org/support/topic/padding-issue-6/)
 * I have made this section sticky [http://prntscr.com/kuk9b8](http://prntscr.com/kuk9b8)
   
   but main problem is when i click on link it cut out content. i see it calculation
   height is 84px which is wrong. i try to change this using css but not working.
 * [http://prntscr.com/kuk9ru](http://prntscr.com/kuk9ru) check this when i click
   on link it cut out.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpadding-issue-6%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [8 years ago](https://wordpress.org/support/topic/padding-issue-6/#post-10693392)
 * I believe this is related to the following code you have:
 *     ```
       .vc_custom_1536959341732{
          padding-top: 30px !important;
          padding-bottom: 30px !important;
          background-color: #092942 !important;
       }
       ```
   
 * Using `!important` on an element that is made sticky will disrupt how the plugin
   works, so if anything, please remove that from your code and see if that makes
   a difference.
 *  Thread Starter [Rokeybur Rahman](https://wordpress.org/support/users/rokeyfx/)
 * (@rokeyfx)
 * [8 years ago](https://wordpress.org/support/topic/padding-issue-6/#post-10693577)
 * I have removed padding but same problem.
    still section cut out. [https://rokeyfx.com/projects/law/member-a/](https://rokeyfx.com/projects/law/member-a/)
   check please.
 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [8 years ago](https://wordpress.org/support/topic/padding-issue-6/#post-10699337)
 * I see what you mean now.
 * This is because the target is indeed scrolling to the top of the screen, but 
   since there is a sticky menu, parts of it will be hidden.
 * I’d suggest to add some top padding to your section titles (you’ll need to do
   that in Visual Composer), that way they will be visible and not obscured by the
   menu.

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

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

 * ![](https://ps.w.org/sticky-menu-or-anything-on-scroll/assets/icon-256x256.gif?
   rev=2564941)
 * [Sticky Menu & Sticky Header](https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sticky-menu-or-anything-on-scroll/)
 * [Active Topics](https://wordpress.org/support/plugin/sticky-menu-or-anything-on-scroll/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sticky-menu-or-anything-on-scroll/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sticky-menu-or-anything-on-scroll/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Senff – a11n](https://wordpress.org/support/users/senff/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/padding-issue-6/#post-10699337)
 * Status: resolved