Hi there! Very inexperienced here and I have a couple of issues I’m trying to figure out:
Firstly, I’d like to know if there is a way that I can get the “header” of my site to actually mask content as it scrolls behind. My header is this thing, highlighted in red
There is lots to improve on on the site right now interactions-wise. That’ll be a separate topic once I fix these two initial ones.. Thank you very much in advance!!
the first solution to the mask effect did not work, I don’t have a background image (just the body background which spans the whole page) and I’m not trying to mask the image using the text, I just don’t want content to show up on the top 20% of the page, basically.
Hey @valepop here are two things that you can try, but they’ll have different visual effects.
The first thing would be backdrop filters. This lets you add masks like blurring or reducing contrast on any content that’s behind your header.
If you don’t want to be able to see content behind your header at all, your best solution would be setting a background image/background colour on you header block. You could pick one that matches you page background, or something with more contrast. Then all the other content will seem to scroll out of view behind it.
Let me know if this helps of if the masking effect you’re looking for is something different!
Hi Asha, thank you so much for your response - I was trying to get it to work without adding a background to the header section. I like that the wood texture is able to be seen scrolling behind if, but obviously when it is layered on top of text, it is not legible and causes all sorts of visual messiness.
I might make the header have a solid background and pop down upon hovering it. Bummer! Thank you for your response. Take care and have a good one!
This way the image on the navbar will match the image on the body, however it will not match on scroll, but that way you can keep the same look and feel. I hope this helps.