Add solid black container behind text in Impulse theme

Solved

Add solid black container behind text in Impulse theme

jpat
Shopify Partner
2 0 2

Hello, 

 

I would like to add a solid black container behind the text and button on the 'Hero (optional slideshow)' in the Impulse theme. 

 

So a black box behind 'Christmas Collection / We've got your / Shop now'

jpat_2-1744187547873.png

 

Thanks in advance for your help!

 

Accepted Solution (1)

namphan
Shopify Partner
2689 349 398

This is an accepted solution.

Hi @jpat,

Please go to Customize > Theme settings > Custom CSS and add code:

.hero__text-shadow {
    background: #000000 !important;
    padding: 2rem;
}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com

View solution in original post

Replies 5 (5)

Moeed
Shopify Partner
7381 1997 2439

Hey @jpat 

 

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Made4uo-Ribe
Shopify Partner
10133 2404 3038

Hi @jpat 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:
.hero__text-shadow {
    border: 1px solid black;
    padding: 1rem;
}
  • And Save.
  • Result:
  • Made4uoRibe_0-1744200800651.png

    Note: Im only using theme demo for this, if it doesnt work please share your store URL. Thanks!

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

namphan
Shopify Partner
2689 349 398

This is an accepted solution.

Hi @jpat,

Please go to Customize > Theme settings > Custom CSS and add code:

.hero__text-shadow {
    background: #000000 !important;
    padding: 2rem;
}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
jpat
Shopify Partner
2 0 2

Thank you, this is exactly what I was looking for. 

namphan
Shopify Partner
2689 349 398

Hi @jpat,

You're welcome and happy to help 😊

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com