I’m looking for CSS code to change the color of the backround on safari, i’ve been loooking for the setting everywhere in my theme but there’s nothing.
So if anyone has a code, i’ll be forever grateful,
I sincerely apologize for my earlier response that addressed the announcement banner instead of the Safari background color.
To change the Safari background color (specifically for the browser’s top bar when viewing your website), you’ll need to use the meta tag theme-color. Here’s how you can implement it:
Steps to Fix1. Go to your theme’s theme.liquid file.
Add the following tag within the section:
Replace #000000 with the hex code for your desired color. This will control the Safari background color when your site is opened.
This tag sets the browser’s theme color for the top bar, especially on mobile devices. It’s a quick and effective way to ensure consistency with your brand’s colors.
If you have any trouble implementing this, feel free to reach out, I’m here to assist further.