Support

Home Forums Event Espresso Premium Spacing in Confirmation Emails

Spacing in Confirmation Emails

Posted: February 3, 2016 at 10:36 am


Jason King

February 3, 2016 at 10:36 am

Hello,

I’m trying to add additional space in between some of the lines and paragraphs in my confirmation emails. I’ve attempted to insert <br> or just a blank paragraph <p> </p> but it won’t accept any of these.

How can I add additional space or a blank line?? Thanks!!


Josh

  • Support Staff

February 3, 2016 at 11:20 am

You can add those by switching to Text Mode first (tab on upper left corner of the editor box). It will not accept html tags if you’re editing in Visual Mode.


Jason King

February 3, 2016 at 12:00 pm

Thanks Josh. I should have specified – I am adding them in text mode. In visual mode I’ve tried just using the enter/return key. It appears on the screen as if it’s going to work but when I save my changes, they don’t save. I’ve tried several times, in all of the different fields on the form.


Josh

  • Support Staff

February 3, 2016 at 12:06 pm

You might have a plugin conflict affecting the tinymce editor if it’s stripping those tags. Do other tags get stripped, can you try editing the emails with only Event Espresso + the default WordPress theme activated?


Jason King

February 3, 2016 at 12:07 pm

For example, I’ve used [ATTENDEE_LIST] and it displays all the attendees all squished together line after line. Is there a way to get a space in between the names so they aren’t so hard to read?


Jason King

February 3, 2016 at 12:09 pm

I haven’t had any issues with any tags except for these spaces. I can try disabling everything and editing them that way.


Josh

  • Support Staff

February 3, 2016 at 12:41 pm

You should be able to wrap the shortcodes in list tags like in the main content like this:


<ul>
[ATTENDEE_LIST]
</ul>

Then in the Attendee list section like this:


<li>
Attendee content
</li>


Jason King

February 4, 2016 at 6:17 am

I’ve done this as well, and it does give me the list format. My issue is the spacing within the list – it shows up like this.

Luke Skywalker

• Registration $0.25 (USD)
Luke Skywalker

• Registration $95.00 (USD)

I’m trying to get it to look like this:

Luke Skywalker
• Registration $0.25 (USD)

Luke Skywalker
• Registration $95.00 (USD)


Tony

  • Support Staff

February 4, 2016 at 6:34 am

Hi Jason,

Which message template are you editing?

Can you post the full contents of the ATTENDEE_LIST section please? You can use something like http://pastebin.com/ and include the URL here.


Jason King

February 4, 2016 at 7:06 am

Sure. I’m in the email registration approved template.

http://pastebin.com/TLJYaUxN

I have lines 1-4 in [ATTENDEE_LIST]
and lines 7-9 in [TICKET_LIST]


Tony

  • Support Staff

February 4, 2016 at 7:38 am

Thank you, your running into problems with invalid HTML here.

For example you have a h4 tag as a direct child of the UL, that needs to be wrapped within an Li, the TICKET_LIST should technically be wrapped in UL’s too.

When you call ATTENDEE_LIST are your wrapping that shortcode within UL’s like Josh mentioned too?

<ul>
[ATTENDEE_LIST]
</ul>

If so that means your doing:


<ul>
  <ul>
    <h4>[FNAME] [LNAME] - Attendee 1</h4>
      <li>
       <strong>[TICKET_NAME] [TICKET_PRICE]</strong>
      </li>
  </ul>
  <ul>
    <h4>[FNAME] [LNAME] - Attendee 2</h4>
      <li>
       <strong>[TICKET_NAME] [TICKET_PRICE]</strong>
      </li>
  </ul>
</ul>

It may work but some clients may format the above in unexpected ways.

This is how your output is structured – http://take.ms/b7sPy

The additional gap between the name and ticket is the padding on the h4, so you’ll need to change that out for something else.

You’ll want to remove the UL’s around the ATTENDEE_LIST shortcode, and warp ULs around the ticket_list shortcode.

That will bring the name and ticket closed together, but to add the space after the ticket you need a br, of hr, so you need to find out why they are being removed on save.

I can add them locally – http://take.ms/AKOSj

So its likely either another plugin or your theme causing them to be stripped out. Try adding a BR with only EE plugins running, if that doesn’t work, switch to a default theme and retry.


Jason King

February 4, 2016 at 8:12 am

Okay. I’ll try to get them fixed this week. Thank you both for your help, I really appreciate it.


Josh

  • Support Staff

February 4, 2016 at 8:27 am

You’re welcome.

The support post ‘Spacing in Confirmation Emails’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso