Adding a background to a section

Solved
smomin93
Excursionist
18 0 7

Hello. I want to add a background image behind the text in the section I attached below. Basically instead of the background being white, i want to change it to a different color or even add an image of my own. How do I do this? Thank you!! 

 

Screen Shot 2021-06-18 at 9.54.26 AM.png

KetanKumar
Shopify Partner
20651 2142 7820

@smomin93 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
smomin93
Excursionist
18 0 7

Hi! My site is www.shopalaika.com and password is yeirow

0 Likes
smomin93
Excursionist
18 0 7

@KetanKumar Hi, is there any solution to this? Thank you!

KetanKumar
Shopify Partner
20651 2142 7820

This is an accepted solution.

@smomin93 

sorry for late reply yes please add this code

1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.

.newsletter {background-color: #eeeeee;} /* change color as you like */

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
smomin93
Excursionist
18 0 7

@KetanKumar Thank you Ketan, that worked! Is there a code if I wanted to add an image to the background? 

KetanKumar
Shopify Partner
20651 2142 7820

@smomin93 

great  thanks for update 

its my pleasure to help us 

yes you can do background image 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
smomin93
Excursionist
18 0 7

@KetanKumar How can i change the background to an image? 

KetanKumar
Shopify Partner
20651 2142 7820

This is an accepted solution.

@smomin93 

you have upload your image in assent folder after copy image link and update below image link jjust

.newsletter {
    background-image: url(https://cdn.shopify.com/s/files/1/0528/2313/0294/products/Facetune_21-06-2021-16-00-15-3_e7fc8875-d24f-4ca9-8003-cc6faad570b9_540x.jpg?v=1624327271);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing