Hi @Betterave-Nina !
could you please clarify in what part of theme.liquid file should I put it?
In the beginning or in the end? Before or after what code part?
thank you in advance!
A user seeks to add a custom background image to a specific Shopify collection page (“for-her”) using the Horizon theme, replacing the default black background.
Solutions Provided:
Conditional CSS in theme.liquid: Multiple responses suggest adding CSS code with conditional logic that checks if the current page matches the target collection. The code should target the collection by handle (“for-her”) or ID (317492527273).
Placement options:
<body> tag in theme.liquid<head> tagImplementation details: The CSS uses background-image, background-size: cover, and background-position: center to display the specified image URL.
Status: The discussion remains open with the original poster requesting clarification on exact code placement within the theme.liquid file. Contributors recommend backing up the theme before making edits due to potential breaking changes.
Hi @Betterave-Nina !
could you please clarify in what part of theme.liquid file should I put it?
In the beginning or in the end? Before or after what code part?
thank you in advance!