Hi there,
I have a custom HTML section on my homepage with an image. I’d like to make the image full width on desktop and mobile. Can someone help me figure out what code is needed to do this?
Website: annieryan.net
PW: pot
Screenshot below - I’d like to make the blue image full width.
Thanks in advance!
Annie
1 Like
@anniemittry
yes please confirm this look!
@KetanKumar Yes, that’s perfect!!
1 Like
@anniemittry
thanks for confirm yes please add this code
- Go to Online Store->Theme->Edit code
- Asset->/theme.scss.liquid->paste below code at the bottom of the file.
#shopify-section-163712508506f9f402 {
position: relative;
width: 100vw;
left: -20vw;
}
1 Like
Hi @KetanKumar - thank you, that almost worked, but the image doesn’t fully extend and is off center. Any fixes?
1 Like
@anniemittry
its bigger screenshot doesn’t work code it can be done change backcode
I’m not sure I understand. Should I change the code? Or is there no fix?
1 Like
@anniemittry
yes, its fix to backend code and customization