Events Made Easy › Forums › How do I … › Get rid of the 6 white lines beneath my booking form title?
- This topic has 10 replies, 2 voices, and was last updated 4 years, 2 months ago by Anonymous.
-
AuthorPosts
-
Thu 24 Sep 2020 at 17:15 #61809AnonymousInactive
In my booking form, I see an area of 6 ‘<br>’ lines between the title of my bookingform and the first entry field. How do I get rid of those lines?
Thu 24 Sep 2020 at 18:28 #61810FrankyKeymasterProbaly your generated html is wrong so those get added. Do you have an example I can see?
Thu 24 Sep 2020 at 19:36 #61811AnonymousInactiveThis is the bookingpage: https://janinekallenbach.nl/events/online-workshop-persoonlijke-missie-voor-multigepassioneerden/
Thu 24 Sep 2020 at 20:40 #61812FrankyKeymasterThat doesn’t link to an event since it is for members only. Can’t you create a public event that has the issue?
Fri 25 Sep 2020 at 09:19 #61813AnonymousInactiveIt was supposed to be public. I think I solved that. Thanks for noticing 😉
Fri 25 Sep 2020 at 09:36 #61814FrankyKeymasterThe br-tags come from the rsvp template. Does that contain extra empty lines? Or set the option to convert newlines to br-tags to “no” for that template.
Fri 25 Sep 2020 at 09:49 #61815AnonymousInactiveThis is my RSVP template:
<table class=’eme-rsvp-form’>
<tr><th scope=’row’>Achternaam*:</th><td>#_LASTNAME</td></tr><br /><tr><th scope=’row’>Voornaam*:</th><td>#REQ_FIRSTNAME</td></tr><br />
<tr><th scope=’row’>E-Mail*:</th><td>#_EMAIL</td></tr><br />
<tr><th scope=’row’>Telefoonnummer*:</th><td>#_PHONE</td></tr><br />
<tr><th scope=’row’>Plaatsen*:</th><td>#_SEATS</td></tr><br />
<tr><th scope=’row’>Opmerkingen:</th><td>#_COMMENT</td></tr><br />
</table>
<P STYLE=”text-align: center”>#_SUBMITI don’t see the br-tags here. That’s why I’m so confused, cause I do see them when i check the code in my browser.
Where do I find the option to convert newlines to br-tags to “no”? I looked, but cant find it.Fri 25 Sep 2020 at 14:13 #61816FrankyKeymasterWell, I see the br-tags you posted (but maybe you made a copy/paste error or forgot to use “code” formatting).
But EME translates extra carriage-returns into br-tags, so make sure your template doesn’t contain empty linesFri 25 Sep 2020 at 15:07 #61817AnonymousInactiveI realize my question was not very clear. I put the single br-tags at the end of every text line myself. Those are not the problem.
But in between the title of my bookingform and the first entryfield I can see six br-tags which create a large white area.
I can see them when i inspect my page in my browser. Ik looks like this:
<input type=”hidden” name=”eme_event_ids[]” value=”36″>
<br>
<br>
<br>
<br>
<br>
<br>
<table class=”eme-rsvp-form”> etc…Fri 25 Sep 2020 at 15:20 #61818FrankyKeymasterThe reason they show there is because in the source code (generated html) the br-tag is present after each closing tr-tag. And because the browser doesn’t accept those br-tags there, it “autocorrects” and shows them before the table.
So in your case: see my last remark: EME translates extra carriage-returns into br-tags, so make sure your template doesn’t contain empty lines (or diable the nl2br conversion for that template, that is a setting per template).Sat 26 Sep 2020 at 10:54 #61819AnonymousInactiveThanks! Now I understand! Problem solved in 2 seconds and again learned something useful!
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.