Search…

X3 Photo Gallery Support Forums

Search…
 
bphotos
Experienced
Topic Author
Posts: 26
Joined: 11 Mar 2013, 08:01

Disappears slideshow block

11 May 2018, 21:33

Hi everyone!
http://belovephotos.com/galleries/slideshow-old/

Select Layout slideshow

When I put this part of the code, the slideshow on the bottom disappears

## Contact Form
<center>For any questions please feel free to contact us. We will get back to you as soon as possible!</center>

<form data-abide class="contactform text-left" style="max-width:500px; margin:2em auto 0;">

<div>
<input type="text" name="name" placeholder="Name" required>
</div>

<div>
<input type='email' name='email' placeholder='Email' required>
</div>

<div>
<input type='tel' name='telephone' placeholder='Telephone' required>
</div>
<strong>Message</strong>
<textarea required rows="6" name="message" placeholder="We'd love to hear from you!
"></textarea>
</div>
<br>
<button type=submit>SUBMIT</button>
</form> 
 
User avatar
mjau-mjau
X3 Wizard
Posts: 11794
Joined: 30 Sep 2006, 03:37

Re: Disappears slideshow block

12 May 2018, 03:01

You have an oprhan </div> tag without an opening <div> tag:
Image

If your HTML is corrupt, unfortunately it could break the entire page, because the browser will try to auto-fix the html, but often wrong. Here is the fixed code:
Code
## Contact Form
<center>For any questions please feel free to contact us. We will get back to you as soon as possible!</center>

<form data-abide class="contactform text-left" style="max-width:500px; margin:2em auto 0;">

<div>
<input type="text" name="name" placeholder="Name" required>
</div>

<div>
<input type='email' name='email' placeholder='Email' required>
</div>

<div>
<input type='tel' name='telephone' placeholder='Telephone' required>
</div>

<div>
<strong>Message</strong>
<textarea required rows="6" name="message" placeholder="We'd love to hear from you! 
"></textarea>
</div>

<br>
<button type=submit>SUBMIT</button>
</form> 
 
bphotos
Experienced
Topic Author
Posts: 26
Joined: 11 Mar 2013, 08:01

Re: Disappears slideshow block

12 May 2018, 18:00

Thank you so much ;)