# WAIT: Header with Sticky and Fix on scroll bug

**URL:** <https://forum.bricksbuilder.io/t/wait-header-with-sticky-and-fix-on-scroll-bug/12334>\
**Category:** Bugs\
**Tags:** v1-7-3\
**Created:** [May 18, 2023, 7:03am UTC](https://forum.bricksbuilder.io/t/wait-header-with-sticky-and-fix-on-scroll-bug/12334 "2023-05-18T07:03:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![noobato](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/n/ce73a5/32.png) [@noobato](https://forum.bricksbuilder.io/u/noobato)\
**Post date:** [May 18, 2023, 7:03am UTC](https://forum.bricksbuilder.io/t/wait-header-with-sticky-and-fix-on-scroll-bug/12334/1 "2023-05-18T07:03:37Z")

</div>

**Browser** : Chrome 110  
**OS** : Windows 11

 ![image](https://forum.bricksbuilder.io/uploads/default/original/2X/d/d9d297cc304b9651a66126c597d3cc8b3f1c17ec.jpeg)

When you set the header with sticky and fixed on scroll the horizontal overflow appears. I have had this problem in multiple websites ive worked on so Im really sure it’s a bug.

I was trying to fixed with multiple overflow hidden but that just brings new problems (like the Search icon cant display the overlay in 100vh, etc).

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [May 19, 2023, 6:06am UTC](https://forum.bricksbuilder.io/t/wait-header-with-sticky-and-fix-on-scroll-bug/12334/2 "2023-05-19T06:06:28Z")

</div>

Hi,  
Thanks so much for your report!

Unfortunately, I cannot see any huge overflow looking at your site. At what size does the problem occur?

There is a tiny overflow caused by the horizontal margins of the “Membresías Bola de Papel” copy text.

Best regards,  
timmse

 ![image](https://forum.bricksbuilder.io/uploads/default/original/2X/2/274ed23774ef5e949d424c313873851e2b4871bb.png)

---

<div class="post-metadata">

**Author:** ![noobato](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/n/ce73a5/32.png) [@noobato](https://forum.bricksbuilder.io/u/noobato)\
**Post date:** [May 19, 2023, 6:53pm UTC](https://forum.bricksbuilder.io/t/wait-header-with-sticky-and-fix-on-scroll-bug/12334/4 "2023-05-19T18:53:19Z")

</div>

Hi, thank you for the response. I “fix” this problem disabling the fixed on scroll and giving 100px top margin to the main content, was the only way I could fix that problem.

I just undoed the changes I had made to fix that problem and you can now see it on the site in a better way.

If you need any other information please tell me.

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [May 22, 2023, 7:56am UTC](https://forum.bricksbuilder.io/t/wait-header-with-sticky-and-fix-on-scroll-bug/12334/5 "2023-05-22T07:56:28Z")

</div>

Hey,  
Now I can see the overflow, but I have no explanation for it and cannot reproduce the problem with a fresh setup.

Does the problem also occur when you create a new header template? If so, would you be so kind as to send temporary login credentials and a link to this thread to [help@bricksbuilder.io](mailto:help@bricksbuilder.io) using the email address you used during the purchase?

---

<div class="post-metadata">

**Author:** ![boc-webdev](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/b/85e7bf/32.png) [@boc-webdev](https://forum.bricksbuilder.io/u/boc-webdev)\
**Post date:** [September 17, 2023, 2:46pm UTC](https://forum.bricksbuilder.io/t/wait-header-with-sticky-and-fix-on-scroll-bug/12334/6 "2023-09-17T14:46:05Z")

</div>

I’m using Bricks v1.9.

Adding html {overflow-x:hidden} prevents sticky on scroll from working at all. I am forced to use overflow-x:hidden due to large oversized text elements that extend off the screen horizontally even on desktop. So although I would like to use sticky on scroll it seems I can not.

---

<div class="post-metadata">

**Author:** ![HOSEIN](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/hosein/32/25907_2.png) [@HOSEIN](https://forum.bricksbuilder.io/u/HOSEIN)\
**Post date:** [September 17, 2023, 6:19pm UTC](https://forum.bricksbuilder.io/t/wait-header-with-sticky-and-fix-on-scroll-bug/12334/7 "2023-09-17T18:19:33Z")

</div>

Hi everyone,

Maybe [this is](https://forum.bricksbuilder.io/t/solved-bug-in-slide-up-after-px-header-bricks-1-8-2/13578) a similar problem? In general, enabling **Slide up after (px)** seems to cause horizontal scrolling.
