Happening now | Office Hours: Customizing Your Theme With Moeed | Ask your questions now!

Changing colors of announcement bar and content-container

Solved

Changing colors of announcement bar and content-container

Untenmaille
Tourist
3 0 0

Hello!

I'm trying to change the colors of announcement bar and content container. The colors wont change to the live-version of the site, but I can see the change in the editor-view. The color I was trying to do with the editor was gradient of yellow, but I wouldn't mind if the color would be something like: #fffec8.

The site is called https://untenmaille.fi and the theme used is Sense.

Editor view:
Näyttökuva 2024-07-11 kello 15.05.49.png

Live view:
Näyttökuva 2024-07-11 kello 15.07.24.png

 

I think these changes need to be added via CustomCSS? I could use help with the code and where to add it. 😅

Accepted Solutions (3)

Moeed
Shopify Partner
7682 2067 2546

This is an accepted solution.

Hey @Untenmaille 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.utility-bar {
    background: #fffec8 !important;
}
</style>

RESULT:

Moeed_0-1720700388881.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Raj-webdesigner
Shopify Partner
363 90 90

This is an accepted solution.

Add this css on your edit code > base.css file

 

 

.image-with-text .image-with-text__content{
   background: radial-gradient(#fff 20%, #fffec8 100%);
}
.announcement-bar-section .utility-bar{
    background:#fffec8;
}

 

 

 

Rajwebdesigner_0-1720700856188.png

 

 

Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-Mail@gmail.com


View solution in original post

Raj-webdesigner
Shopify Partner
363 90 90

This is an accepted solution.

Sir, You Remove this line in bottom of base.css file and add top of base.css file.

 

.image-with-text .image-with-text__content{
   background: radial-gradient(#fff 20%, #fffec8 100%);
}

 

 

Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-Mail@gmail.com


View solution in original post

Replies 6 (6)

Moeed
Shopify Partner
7682 2067 2546

This is an accepted solution.

Hey @Untenmaille 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.utility-bar {
    background: #fffec8 !important;
}
</style>

RESULT:

Moeed_0-1720700388881.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Untenmaille
Tourist
3 0 0

Thanks for this, the announcement-bar works now! However I didn't get the part with 'image-with-text' working yet with Raj's tips.

Raj-webdesigner
Shopify Partner
363 90 90

This is an accepted solution.

Add this css on your edit code > base.css file

 

 

.image-with-text .image-with-text__content{
   background: radial-gradient(#fff 20%, #fffec8 100%);
}
.announcement-bar-section .utility-bar{
    background:#fffec8;
}

 

 

 

Rajwebdesigner_0-1720700856188.png

 

 

Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-Mail@gmail.com


Untenmaille
Tourist
3 0 0

I added the code you made to base.css and it didn't change the color of the box.
Näyttökuva 2024-07-14 kello 11.54.00.png

Any ideas why?

 

Raj-webdesigner
Shopify Partner
363 90 90

This is an accepted solution.

Sir, You Remove this line in bottom of base.css file and add top of base.css file.

 

.image-with-text .image-with-text__content{
   background: radial-gradient(#fff 20%, #fffec8 100%);
}

 

 

Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-Mail@gmail.com


BSS-TekLabs
Shopify Partner
2401 695 835

- Here is the solution for you @Untenmaille 
- Please follow these steps:

step.png

- Then find the base.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

.utility-bar.utility-bar--bottom-border {
 background: #fffec8 !important;
}

- Here is the result you will achieve:

BSSTekLabs_0-1720708844795.png

 

BSSTekLabs_1-1720708857251.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now