image picker from block settings not displaying properly. code
it displaying extra files/ in url it displaying like style=“background-image: url(‘//cdn.shopify.com/s/files/1/0863/3869/9542/files/files/image_26.png?685’);”
image picker from block settings not displaying properly. code
Hi - which theme is this? If you’re not a Shopify developer you may find better assistance over on the merchant forums here: https://community.shopify.com/c/shopify-design/bd-p/ecommerce-design
Thank you for the reply. The theme is Warehouse. I was able to fix this issue in the Warehouse theme by adding a filter using the following code:
background-image: url('{{ block.settings.background_image | remove: “files/” | file_url }}
Great to hear - and thanks for posting up your solution here