Fixed Image on Homepage

Solved
mb2021
Tourist
17 0 5

Hi,

 

I would like to keep this image as a 'Fixed Image' on my home page - however it shows my background colour (white) around the edges.

 

How do I change this section on the homepage to have a black background behind my image please?

 

Thank you. www.hurtliqueur.co.uk

 

Screenshot 2021-04-16 at 14.08.43.png

HardikDavra
Shopify Partner
1799 280 791

This is an accepted solution.

Please place this code at the end of theme.scss

#shopify-section-hero-1 {
background-color: #000000;
}
Want to customize Shopify storefront? Check the PageFly app
75,000+ Active Shopify merchants. TOP5 best Shopify Apps.

Contact Me On : parambabla.soft@gmail.com
mb2021
Tourist
17 0 5

Perfect - thank you!

 

Is there a way to make this bar black too just above the image?

 

Screenshot 2021-04-16 at 14.19.30.png

dmwwebartisan
Shopify Partner
5716 1307 1678

This is an accepted solution.

@mb2021 

Please place this code at the end of theme.scss.liquid file.

.template-index .main-content {padding-top: 0px !important;}

Thanks!

If helpful then please Like and Accept Solution.
Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Advanced Shopify Page Builder to customize your pages - check here PageFly App
mb2021
Tourist
17 0 5

Thank you!