Change colour of strip based on page background?

Hi all!

Hope fully someone can help…?

I have created a dynamic header for all my website content pages, i.e. when starting to scroll, the header will fade into a dark colour from fully transparent.

My question is that; for my Forum and other Members pages, I would like these left as simple as possible, with white page backgrounds. Is there a way to set the headerstrip.show query based on the page background?

Thanks in advance.

Cal

You don’t need code to hide the header and footer on certain pages.
https://support.wix.com/en/article/hiding-the-header-and-footer-on-a-specific-page

You also can’t use code to hide or collapse your existing header and footer and simply replace it with another one.

Therefore, you can try turning it off for those pages and simply adding it manually to the top and the bottom of your page

Otherwise to possibly do it through code, you can look at using Style or Background
https://www.wix.com/corvid/reference/$w.Style.html
https://www.wix.com/corvid/reference/$w.Background.html