Removing white space from HTML image section

SonnyS
Tourist
6 0 1

Hi I realise this has been asked a lot... But i'm still struggling

I have imported a small banner with the html section and I'm trying to remove some of the margin space above and below it:

Image 21-10-2021 at 01.33.jpg

Changing the margins (or maybe its the padding im not sure) is easy enough in inspect element. And here are the details:

Screenshot 2021-10-21 at 01.38.18.png

However i'm struggling to implement this into the css code. All I know is that the code should be inside the body of theme.liquid

Any help appreciated, thank you!

Replies 5 (5)

jackhu
Tourist
4 0 3

please share your store url 

suyash1
Shopify Partner
9134 1137 1485

@SonnyS- please share your website URL

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session

dmwwebartisan
Shopify Partner
12289 2547 3698

@SonnyS 

Please share your store URL. 

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app
SonnyS
Tourist
6 0 1
SonnyS
Tourist
6 0 1

Solved it ! Thank you anyway guys.

I was in the wrong theme file, didn't realise the right one was in assets