Modifications in image-with-text.liquid (dawn theme) are ignored

Solved

Modifications in image-with-text.liquid (dawn theme) are ignored

prestigeglam
Visitor
2 1 0

Hello,

I am discovering liquid files and I try to custom the dawn theme but I cannot do any modifications in the image-with-text.liquid file...

To illustrate with an exemple I want to change the default text when we create the component (dw for the CSS I was just making some tests)

prestigeglam_0-1696543883738.png
So I went to the part of the liquid file to change the text :

prestigeglam_1-1696544038858.png

But when I replace the paragraph by other text the modification doesn't occur when I create a new component.

prestigeglam_3-1696544181777.png


My main goal was to custom the way image size are calculated but I cannot make any tests...
Even adding a H1 HTML tag doesn't work.

I am sure to modify the right theme, I am getting wrong with how liquid works but I don't understand why 😴

 



 

Accepted Solution (1)

prestigeglam
Visitor
2 1 0

This is an accepted solution.

Well after a good night i figured out what's the problem, the code isn't factorised.

I wasn't really manipulating the image-with-text component but the multirow component. And the multirow just duplicated the code of the image-with-text so I couldn't see the modification. But it uses the same css file that's why I was confused !

prestigeglam_0-1696576633816.png

 

View solution in original post

Reply 1 (1)

prestigeglam
Visitor
2 1 0

This is an accepted solution.

Well after a good night i figured out what's the problem, the code isn't factorised.

I wasn't really manipulating the image-with-text component but the multirow component. And the multirow just duplicated the code of the image-with-text so I couldn't see the modification. But it uses the same css file that's why I was confused !

prestigeglam_0-1696576633816.png