Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Header height issue with modal

Home / Forums / Membership Forums / Header height issue with modal

This topic is: Not Resolved
[Not Resolved]

Tagged: 

October 23, 2020 at 10:45 pm

I have a header with sticky bottom row (Original Height: 246px), so the height of the header changes when the modal on page is triggered (New Height: 155px ). But when the modal is closed, the height remained (New Height: 155px) without changing back to the default header height + sticky header height.

So I assume the problem is with the calculation of height at the point of time the modal is being triggered. On page scroll, the sticky header is no longer included in the header height calculation. Hence, when the modal is triggered (open and close), the new header calculation doesn’t include the height of sticky header to the header height. This is causing some unwanted design changes on my site when the user scrolls back to the top because of the new header height.

  • The forum ‘Membership Forums’ is closed to new topics and replies.