---
title: Why Does My Site “Jump” to the Top of the Page When I Trigger a Popup?
description: "## Description A [Click Open trigger](https://wppopupmaker.com/docs/triggering-popups/trigger-click-open-overview-methods/) can cause your website or page to *jump* to the top a split second before the popup is displayed. ## Cause This might happen if you implemented the custom [CSS for smooth scrolling](https://wppopupmaker.com/docs/popup-display-front-end-behavior/why-is-my-popup-not-scrolling-properly-background-scrolling/#solution_5) (Option…"
url: "https://wppopupmaker.com/docs/popup-display-front-end-behavior/why-does-my-site-jump-to-the-top-of-the-page-when-i-trigger-a-popup/"
updated: "2024-12-23"
category: "Common Questions & Issues / Popup Display Front End Behavior"
---

# Why Does My Site “Jump” to the Top of the Page When I Trigger a Popup?

## Description

A [Click Open trigger](https://wppopupmaker.com/docs/triggering-popups/trigger-click-open-overview-methods/) can cause your website or page to *jump* to the top a split second before the popup is displayed.

## Cause

This might happen if you implemented the custom [CSS for smooth scrolling](https://wppopupmaker.com/docs/popup-display-front-end-behavior/why-is-my-popup-not-scrolling-properly-background-scrolling/#solution_5) (Option 1). 

## Solution

To fix this issue, use the following [CSS](https://wppopupmaker.com/docs/getting-started/popup-maker-glossary-of-terms/#css) (Option 2) instead. The styles are slightly modified compared to **Option 1** CSS example provided in [Solution #5](https://wppopupmaker.com/docs/popup-display-front-end-behavior/why-is-my-popup-not-scrolling-properly-background-scrolling/#solution_5).

```
html.pum-open.pum-open-overlay.pum-open-fixed .pum-overlay {
    overflow: hidden;
    position: fixed;
    width: 100%;
}
html.pum-open.pum-open-overlay.pum-open-scrollable .pum-overlay.pum-active {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}
```

You can view the original CSS source on [GitHub](https://github.com/PopupMaker/Library/blob/master/Troubleshooting/popup-scrolling-issue-solution-5b.css).
