We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How can I change the color scheme of my newsletter section?

Solved

How can I change the color scheme of my newsletter section?

breyonwella
Tourist
4 0 2

Hi I want to change the color of my newsletter section to red #CF2044, the heading text to black and the body text to white and the button to be black or white how can i code that in? see attached imagecurrent screenshotcurrent screenshot

Accepted Solution (1)
Kinjaldavra
Shopify Partner
2303 570 1427

This is an accepted solution.

hello @breyonwella 

please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file. see screenshot https://nimb.ws/in89SI

 

   .newsletter{
       background: #CF2044;
    }
   .h1.section-header__title{
       color: black;
    }
    .section-subheading.rte.text-center >p{
       color: white;
    }
    .btn.newsletter__submit{
       background: black;
    }
    .input-group-field.newsletter__input{
       background: #f6f6f7;
    }

 

View solution in original post

Replies 7 (7)

dmwwebartisan
Shopify Partner
12384 2560 3749

@breyonwella 

Please share your store URL.

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
PageFly App to customize your pages | The most powerful Shopify page builder app
breyonwella
Tourist
4 0 2
dmwwebartisan
Shopify Partner
12384 2560 3749

@breyonwella 

Please add the following code at the bottom of your assets/theme.scss.liquid file.

#shopify-section-newsletter .newsletter {
    background-color: #CF2044 !important;
}
#shopify-section-newsletter .section-header__title{
color: #000 !important;
}
#shopify-section-newsletter .rte p{
color: #fff !important;
}
#shopify-section-newsletter button#Subscribe {
    background-color: #000;
}

Hope this works.

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
PageFly App to customize your pages | The most powerful Shopify page builder app
Kinjaldavra
Shopify Partner
2303 570 1427

This is an accepted solution.

hello @breyonwella 

please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file. see screenshot https://nimb.ws/in89SI

 

   .newsletter{
       background: #CF2044;
    }
   .h1.section-header__title{
       color: black;
    }
    .section-subheading.rte.text-center >p{
       color: white;
    }
    .btn.newsletter__submit{
       background: black;
    }
    .input-group-field.newsletter__input{
       background: #f6f6f7;
    }

 

breyonwella
Tourist
4 0 2

thank you so much this helped!

breyonwella
Tourist
4 0 2

is there a way to code it so that the rest of the headings on the homepage dont turn black and stay red? only heading i need black is in the newsletter sectionheader.JPGnew letter.JPG

Kinjaldavra
Shopify Partner
2303 570 1427

hello @breyonwella  please remove last insert code and update with this below code 

please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.

#shopify-section-newsletter .newsletter{
       background: #CF2044;
    }
     #shopify-section-newsletter  .h1.section-header__title{
       color: #000000 ;
    }
       #shopify-section-newsletter  .section-subheading.rte.text-center >p{
       color: #ffffff;
    }
       #shopify-section-newsletter .btn.newsletter__submit{
       background: #000000;
    }
       #shopify-section-newsletter .input-group-field.newsletter__input{
       background: #f6f6f7;
    }