Jump to content

Remove Space left by ESP Condition


Recommended Posts

We are currently using some ESP Conditions in our emails,

Specifically, a paragraph in one of our emails that is automatically sent to customers upon logging a request.

We have an ESP condition set up, if a Request source is Email then insert paragraph, my problem is on the email template when the esp condition is not used (source is not email) it leaves a space where the paragraph would sit.

Can it be made possible for the ESP Condition to include line breaks, so we could select the line breaks before and after the paragraph so these would only appear if the ESP condition was being used?


Link to comment
Share on other sites

Hi @will.good

Try taking a look at the source of the e-mail. There is probably a <p> </p> either side of the ESP condition or a <br /> in front. You would just need to move these two tags inside the condition so they only display when the condition is met.

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...