Title: Problem when I scroll up
Last modified: July 25, 2019

---

# Problem when I scroll up

 *  Resolved [weebagency](https://wordpress.org/support/users/weebagency/)
 * (@weebagency)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/problem-when-i-scroll-up/)
 * Hi,
 * I have a problem with the sticky menu when I scroll up. I set a 15px margin top
   and bottom. when I scroll up my logo become border line, I mean my 15px margin
   top desappear. Can you have a check ?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-when-i-scroll-up%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Robert Wattner](https://wordpress.org/support/users/rwattner/)
 * (@rwattner)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/problem-when-i-scroll-up/#post-11768676)
 * Hi, to me it looks like the vertical alignment of the header section needs to
   be set to middle. Elementor can be a little buggy with this setting. Try different
   combinations of settings for the section and the columns themselves until you
   get the correct vertical alignment.
    If I remember correctly, I think setting
   the section column position to stretch, vertical align to middle, and column 
   vertical align to default usually works for me.
 * Let me know if this helps
 *  Plugin Contributor [Robert Wattner](https://wordpress.org/support/users/rwattner/)
 * (@rwattner)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/problem-when-i-scroll-up/#post-11772293)
 * I looked at your site again and I see that the section has 15px padding on top
   and bottom. For some reason when you scroll back up to the top of the page this
   code…
 *     ```
       .header {
           padding-top: 0!important;
           padding-bottom: 0!important;
       }
       ```
   
 * removes the padding.
    If this is some custom CSS you have somewhere I would try
   changing or deleting it. Alternatively, you could replace the section padding
   with margin on the image and other header elements. That way the header padding
   won’t be affected when scrolling. LMK if this helps you.

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

The topic ‘Problem when I scroll up’ is closed to new replies.

 * ![](https://ps.w.org/sticky-header-effects-for-elementor/assets/icon-256x256.
   gif?rev=3301413)
 * [Sticky Header Effects for Elementor](https://wordpress.org/plugins/sticky-header-effects-for-elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sticky-header-effects-for-elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sticky-header-effects-for-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/sticky-header-effects-for-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sticky-header-effects-for-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sticky-header-effects-for-elementor/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Robert Wattner](https://wordpress.org/support/users/rwattner/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/problem-when-i-scroll-up/#post-11772293)
 * Status: resolved