Background image for email sign-up banner

BirdCreations
Visitor
2 0 1

Hi

I am trying to insert a background image in the email sign-up section, using the Dawn theme. I have tried several different CSS codes but it doesn't seem to work for this section. 

The image shows the section I want to edit. If anyone has the correct code and section where to place it, would greatly appreciate it!

BirdCreations_0-1705320552706.png

 

 

 

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
5120 1220 1493

Hi @BirdCreations 

Check this one, ifi t doesnt work please you you mind to share your store URL? Im only using Dawn Demo for this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.footer__content-top.page-width {
    background-image: url('path/to/your/image.jpg');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
    max-width: 100%;
}

 

And Save. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


helen25
New Member
16 0 0

Hi BirdCreations,

Follow these steps :

1) Go to Online Store
2) Edit Code
3) Find base.css file

4) And put this code in the botom

 

.footer__content-top.page-width {
    background-image: url('path/to/your/image.jpg');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
    max-width: 100%;
}