How to make the product page image full width? Taste Theme

Hey i want to make my product image on my product page full width for mobile and desktop. Could anybody help me with coding like this? An example is shown underneath:

Theme: Taste

Hi @PRETTYFRIDAYS

Go to your Online store > Themes > Edit code, open theme.liquid add this code below before tag

{%- if template.name == 'product' -%}

{%- endif -%}

Hey man thanks for your help but it did not work. Do you maybe have another code?

hi, @PRETTYFRIDAYS

Please share URL and password

https://e8aaa0-3.myshopify.com/

mohwhi

Missing : in padding code. Please update code to this

{%- if template.name == 'product' -%}

{%- endif -%}

Hi @PRETTYFRIDAYS ,

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file → Save


Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Hey, thanks for your help, it dit in fact work, but i have one issue. The entire page is now full width and that is not what i meant. I only meant the product image. Do you know how to change this?

Kind regards

Daan

It did not work, the whole page is not full width. I only want the product image to be full width

You can try