Solved

How to change the color of texts and button on image banner

VisarK
Explorer
65 0 13

Hello Community hope you all are doing good,i use dawn theme and need a help  about changing the color of heading and body text just on image banner ,also the body text to be a little bit bigger to fit well with heading,and to change the button on image banner also from white button backround to  #c19a6b and the button text from black to white in desktop and mobile devices.

Screenshot_20240522_003019_Chrome.jpg

Accepted Solution (1)
BSSCommerce-HDL
Shopify Expert
660 204 219

This is an accepted solution.

Hi @VisarK

You can try this code by following these steps:

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Inside tag head. You need create style tags. After you'll insert my code inside it

BSSTechVenture_1-1716347305005.png

 

 

h2.banner__heading.inline-richtext.h1 
{ 
  color: black !important; 
} 
.banner__text.rte.subtitle p { 
   color: black !important; 
   font-size: 18px !important; 
} 
.banner__buttons a.button.button--primary:after 
{ 
   box-shadow: none !important; 
} 
.banner__buttons a.button.button--primary 
{ 
   background-color: #c19a6b !important; 
   color: white !important; 
}

 

Hope this can help you, 
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

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

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development

View solution in original post

Replies 5 (5)

BSSCommerce-HDL
Shopify Expert
660 204 219

Hi @VisarK

You can try this code by following these steps:

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

BSSTechVenture_0-1716345601653.png

 

Step 2: Search file base.css, theme.css, styles.css or theme.scss.liquid

BSSTechVenture_1-1716345621622.png

 

Step 3: Insert the below code at the bottom of the file -> Save

 

h2.banner__heading.inline-richtext.h1 
{ 
  color: black !important; 
} 
.banner__text.rte.subtitle p { 
   color: black !important; 
   font-size: 18px !important; 
} 
.banner__buttons a.button.button--primary:after 
{ 
   box-shadow: none !important; 
} 
.banner__buttons a.button.button--primary 
{ 
   background-color: #c19a6b !important; 
   color: white !important; 
}

 

Here is result: 

BSSTechVenture_0-1716345551640.png

Hope this can help you, 
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you  😍

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

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development

VisarK
Explorer
65 0 13

Hello @BSSCommerce-HDL  i tried but doesnt work

BSSCommerce-HDL
Shopify Expert
660 204 219

This is an accepted solution.

Hi @VisarK

You can try this code by following these steps:

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Inside tag head. You need create style tags. After you'll insert my code inside it

BSSTechVenture_1-1716347305005.png

 

 

h2.banner__heading.inline-richtext.h1 
{ 
  color: black !important; 
} 
.banner__text.rte.subtitle p { 
   color: black !important; 
   font-size: 18px !important; 
} 
.banner__buttons a.button.button--primary:after 
{ 
   box-shadow: none !important; 
} 
.banner__buttons a.button.button--primary 
{ 
   background-color: #c19a6b !important; 
   color: white !important; 
}

 

Hope this can help you, 
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

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

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development

VisarK
Explorer
65 0 13

Thanks a lot this helped me @BSSCommerce-HDL 

BSSCommerce-HDL
Shopify Expert
660 204 219

@VisarK We're happy to see that our suggestion helped you solve your issue. This can be a reference for other merchants if they have an issue like you. Should you need any further information, please do not hesitate to contact us by tagging directly at Community post. We will check and let you know soon. Thanks in advance.

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

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development