How remove space between infotexts?

Hi,

We have some infotext that we want to appear if certain conditions are met. However there is a lot of space between the infotexts. Can this be removed? I want it to look as the test I have put in the code for xxx and yyy. Ie no space.

Kind regards,
Anna

Hi Anna

You should be able to do this by letting your {% endif %} end at the same place as your {:/infotext} and you probably need to put the start of your next if statement there too.

Just FYI: Another way is to put stripnwelines around the code thing and add {% newline %} at the right places.

Kind regards
Sam
Fintrax

1 Like

Thank you, it works!