I'd like to change the background colour of the `body` element in Fresh. How do I do that simply?
(see title)
6 Replies
could you elaborate on why you need the body element specifically?
When the user scrolls past the full height of the page, the background of the outer part of the page must match the inner part of the page. Does that make sense?
Sorry for the late reply... Thank you! Do you know how I can do this for a single page within a project? I've tried adding a body with a custom class in the page component. However, this invalidates the HTML as there are now two body elements.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I was thinking of using a
style
element but wondered if there was a better alternative... Thanks anyway, guys! 🤙🏾