Shopify themes, liquid, logos, and UX
Is there a way to change the background of a multicolumn section in the dawn theme? The options for secondary background in the section settings are "none", "show as column background", and "show as section background"
When I select the third background, it's using a light gray but I'm not sure where it's getting that color from. It's not in the theme settings. Thanks!
The background color of the Multicolumn section is set to the foreground color with 4 % transparency. So if your text color is black you'll get a light gray for the background of that section. If you want to change how that works you need to change this CSS rule in Assets/base.css:
Is there a way to set it to a certain hex color?
You can replace the part that starts with rgba(var(... with a hex value, but that would affect more than just the Multicolumn section. If you only want to change the background color of Multicolumn sections, open the file Assets/section-multicolumn.css and add the following line (change the hex color code to whatever you want):
Hi Thomas,
I am trying to follow your suggestion here also, I am following the second part...
If you only want to change the background color of Multicolumn sections, open the file Assets/section-multicolumn.css and add the following line (change the hex color code to whatever you want):
and when in the code there is absolutely nothing that states "secondary" within the assets - section - multicolumn etc.
I am using Dawn.
How would I change the multicolumn secondary background?
It's possible that Dawn's code has changed since I posted this. Shopify changed around lots of things in the most recent version of Dawn, they also changed how background colors etc. are applied. So this code might not work anymore and would have to be modified to work with those newer versions.
That would definitely explain it. Thank you.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024