I am trying to start using a blog for my website which has been running seamslessly for a few years. The Default blog page is creating a very strange behavior where on scroll the header background fades in and fills down to the blog title. I have isolated the issue to the blog title by hiding it in the theme editor at which point the behavior goes away. My header setting is set to sticky and changing it does not fix the issue. Here is a link that should go to the preview of the page : Link
I do have some custom CSS for my header but from what I see it should not be touching these classes at all.
The opacity property takes a value between 0 and 1, so opacity: 10 is the same as opacity: 1, meaning your background SVG texture is fully visible on the pseudo-element at all times and interfering with Dawn’s scroll-based header transparency logic.
Try scoping thatheader:before rule so it doesn’t apply on the blog template, or just drop the opacity down to something like 0.15 which is probably what you originally intended anyway:
If you want it completely excluded from the blog page you can add a body class condition in your theme CSS or wrap it in a {% unless template == ‘blog’ %} block inside your theme’s stylesheet include.
Check whether fixing the opacity alone resolves the scroll behavior first since that’s the most likely culprit here. Let me know what you find.
Thank you both for your responses. I ended up just changing the liquid to remove the header tag from the article child and making it a Div isntead. I am going to try these fixes at a later date!