I’m using this css to make masthead.site-header half transparent:
#masthead.site-header { background: rgba(255, 255, 255, .5); }
I also have the setting:
Menu Position
Overlaps Content
Then when scrolling down the page the masthead.site-header shrinks vertically. At this point I would like background being fully white:
#masthead.site-header { background: rgba(255, 255, 255, 1); }
How do I accomplish that?
Hi Ptoolemy,
You should be able to do this by adding the following CSS to WP AdminAppearanceCustom CSS:
The floating class gets added to the masthead when the logo gets resized so you should be able to do this by writing a selector for that.
You might also need to install the SiteOrigin CSS Editor.
Thanks!