What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: How to remove gap from custom liquid on product page

How to remove gap from custom liquid on product page

svalkyrie23
Explorer
87 2 7

I am adding an image to my product page via custom liquid, however there is a large gap.  I'm using basic  img src=link code

 

svalkyrie23_0-1728943355072.png

 

Replies 3 (3)

PaulNewton
Shopify Partner
7516 662 1578

@svalkyrie23 It's either default padding/margin on images that needs to be clear with a float or vertical align, or the custom-liquid block itself has margin styles.

Beyond that communicate detail upfront and provide publicly inspectable URL with storefront password if applicable.

READ: https://community.shopify.com/c/blog/how-to-get-support-from-the-community/ba-p/1399408

Keep other people in mind not everyone has your specific store , we do not see what you see or know what you did or how.

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


svalkyrie23
Explorer
87 2 7

Hi @PaulNewton  do you mind if I DM you with my store URL to possibly check please?

 


I don’t have any margins set on the custom liquid it’s literally just an image URL with dimensons.  I wasnt sure if ai need to add .container {margin-top: 10px } for example. And what container name I would use

svalkyrie23
Explorer
87 2 7

Anyone? Please help.