Change color of section on homepage - using Minimal Theme

Solved
sammii18
Tourist
4 0 0
I have been trying to change the background colour of the custom HTML section on my homepage (using minimal theme) but everything I have tried doesn’t seem to work or changes the background color of the whole homepage? Site is www.littlelovebugclothing.com.au and it’s the section - sale on now (custom HTML) can you please advise what I should be entering and whereabouts? Thank you in advance
0 Likes
ThomasBorowski
Shopify Expert
540 24 124

This is an accepted solution.

The following tutorial assumes your're using Minimal 10.1.1 or that the relevant code in the version of your theme you're using is the same or at least similar.

 

Please be sure to make a backup of your theme before you make any changes to the code!

 

Go to the theme editor (Online Store -> Themes -> Actions -> Edit code) and open the file custom_html.liquid in the Sections folder. Replace the entire contents of that file with the code from this URL: https://raw.githubusercontent.com/tomatic/shopify-section-mods/master/Minimal/Sections/custom_html.l...

 

That will let you set an optional background color for the Custom HTML section. It also adds some padding to the section when a background color is set.

★ Dedicated EU B2B customer registration with VAT ID validation: https://apps.shopify.com/b2b-customer-registration ★
Jasoliya
Shopify Expert
4299 569 1073

This is an accepted solution.

Hi,

Follow this:

1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss->paste bellow code in bottom of file

#shopify-section-1559291747590{background-color: #eae1d8;}

Note: This is not solution as i sent using just console, but it work well, if you remove this section and add again it will no longer work.

 

Let me know if you need help.

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
sammii18
Tourist
4 0 0

Thank you so much it worked perfectly! As a newbie I really appreciate your help and super fast reply  thank you 

0 Likes
sammii18
Tourist
4 0 0

Absolutely perfect - exactly as I had hoped - have been trawling for days to find a solution, really appreciate the super quick and easy to follow instructions thanks again!

0 Likes
Jasoliya
Shopify Expert
4299 569 1073

My pleasure, mark as solution so user get exact answer when he search. 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
ThomasBorowski
Shopify Expert
540 24 124

@Jasoliya As you state yourself, your code will only work in this single, particular case, so calling it a solution might be a bit confusing for anyone who finds this post later on and tries it on their theme.

★ Dedicated EU B2B customer registration with VAT ID validation: https://apps.shopify.com/b2b-customer-registration ★
0 Likes
Jasoliya
Shopify Expert
4299 569 1073

Hi @ThomasBorowski  yes, you are right, that's why i have noted bellow my post and there are no other way to solve this with console.

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Cherizzle
Excursionist
24 0 4

Since this seems to be theme specific can someone help me out with the same for the Brooklyn theme> I found out how to do it for the rich text sections but not the customer html. 

 

Thank you!

Brad new at this....

0 Likes
Jasoliya
Shopify Expert
4299 569 1073

Send your store url and let me know on which section you want to change color 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes