# Sticky header transparency

**URL:** <https://colorlibsupport.com/t/sticky-header-transparency/47608>\
**Category:** Shapely\
**Created:** [June 25, 2026, 11:51am UTC](https://colorlibsupport.com/t/sticky-header-transparency/47608 "2026-06-25T11:51:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbdevkc](https://colorlibsupport.com/user_avatar/colorlibsupport.com/dbdevkc/32/13502_2.png) [@dbdevkc](https://colorlibsupport.com/u/dbdevkc)\
**Post date:** [June 25, 2026, 11:51am UTC](https://colorlibsupport.com/t/sticky-header-transparency/47608/1 "2026-06-25T11:51:17Z")

</div>

I had a very difficult time finding this additional CSS that actually worked for me. In Appearance → Customize → Additional CSS

`nav.fixed.scrolled {`  
`background: rgb(249 247 245 / 0.7)!important;`  
`}`

My nav/menu background is normally white, the rgb above makes the sticky header a nice shade of off white, while the 0.7 transparency works very well.

This also worked, but pure white with transparency didn’t look as good:  
`nav.fixed.scrolled {`  
`background: #0007 !important;`  
`}`

Note that I found this as a solution, but it did not work for me:  
`#header .is-sticky .top-header {`  
`background-color: #00000026;`  
`}`

---

<div class="post-metadata">

**Author:** ![jasonmiller](https://colorlibsupport.com/user_avatar/colorlibsupport.com/jasonmiller/32/13526_2.png) [@jasonmiller](https://colorlibsupport.com/u/jasonmiller)\
**Post date:** [September 1, 2026, 9:01am UTC](https://colorlibsupport.com/t/sticky-header-transparency/47608/2 "2026-09-01T09:01:49Z")

</div>

Yes, that selector difference is probably the whole issue. If `nav.fixed.scrolled` works reliably for your theme, stick with it rather than forcing a selector that targets elements your version doesn’t actually use.
