How can I edit padding/margin for an image I added on the homepage?

I added an clickable image using html on the homepage. The only issue is the image has too much white space around it. I would like to reduce it to 0. Please help.

Website: Byrani.com

2 Likes

@yvad101

Welcome to the Shopify community!
and Thanks for your Good question.

Please let me know which section do you have clickable and margin issue,
So I will check and provide a solution here.

Hey there @yvad101 ,

Add the following code to your theme.scss.liquid file

#shopify-section-16064220208bbc8de6 .wrapper {
max-width: unset !important;
max-height: unset !important;
padding: 0px !important;
margin: 0px !important;
}

Hope that helps.

1 Like

Thank you so much. It fixed the issue. There is still a gap between the 5 star review image and the subscription section. How can I join them? Thank you again.

1 Like

Hey again @yvad101 !

You are welcome!

I visited the store again and I think you’ve already added a new section below the full-width image and so there is no need of removing any space now. Right?

A quick note: If your problem is solved you can Accept my replies as “Accept Solution”.

Thanks

That’s correct. Thank you so much for the help.

1 Like

@yvad101 !

My pleasure. Best wishes for your startup!