A Shopify beginner seeks help making their hero image/banner extend into the header area so the logo sits on the image rather than a solid background.
Solution Provided:
Add custom CSS code to the base.css file via Online Store → Theme → Edit code
The CSS makes the header wrapper transparent with absolute positioning, allowing the hero image to bleed through
Implementation Issue:
The solution works correctly on the homepage
However, on other pages (FAQs, About Us, product pages), the header layout breaks or “crashes”
Adjusting padding affects the homepage negatively
Current Status:
The core request is resolved for the homepage
An open question remains about how to apply the effect selectively (possibly using conditional logic like {% unless %}) so it only affects the homepage without breaking other pages
Summarized with AI on November 19.
AI used: claude-sonnet-4-5-20250929.
I started building my shop just yesterday so not a 100% what im doing lol perhaps i can send you a screen shot? or do you need to get into back of house stuff?
Hello,
The code works correctly on the homepage but when I go to FAQs, About Us or any other page/product, the page “crashes” in the header. If I try to fix this with top padding or bottom padding, I also get a change on the homepage.
I understand that this can be fixed in code with {%unless%} or am I wrong?
If so, is there any way to fix this for all other pages with {%unless%} and then it works correctly on the homepage?