Solved

Bootstrap Modal overlay problem

Posted on 2014-09-04
7
456 Views
Last Modified: 2014-09-07
Hi all,
Here is a ink to 2 pages:
1. http://www.marlboroughaeroclub.co.nz/cms/index.php?page=Course-content
2. http://www.marlboroughaeroclub.co.nz/cms/

There is a newsletter sign up form field in the footer. Trying to submit the form without entering anything will result in a Modal popping up giving a validation error.
My problem is that on page 1 the modal overlay covers the modal content and on page 2 the overlay works as it should do.
To my tired eyes the structure and css or both pages is identical however there must be an element in the cascade that is causing the difference.
If anyone can spot it I would be very grateful.
Cheers,
N
0
Comment
Question by:Neil_Bradley
  • 4
  • 3
7 Comments
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40307232
Personally, I would move your modal out of the "container" object.  Have the whole element at the bottom just before the </body> tag
0
 
LVL 5

Author Comment

by:Neil_Bradley
ID: 40307270
That would be my preference too however not possible as the modal is generated within a content management system and the re programming would be considerable.
Link  2 which is the home page does not have the issue and the structural events of that page are identical to that of the inner pages (of which are causing the problem).
N
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40307290
Sure I can understand that. Does your homepage use a different template to the subsequent pages? It could be that the modal is included twice or initialized differently. I'll keep looking but these things will be easier for you to find.
How are you including the modal in the page?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 5

Author Comment

by:Neil_Bradley
ID: 40307327
Yes,
The template is different however the differences are extreme slight. The modal does not exist in the page prior to form submission.
In the first div tag after the opening body tag there is a style called fade. This is present in both the working and none working example however if I remove the fade class from the none working example it fixes the issue....
Clue maybe?.
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40307426
You do have a missing tag somewhere on the page that does work.

I would check your markup again - i'll also have a look through for what's missing
0
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE earned 500 total points
ID: 40307427
0
 
LVL 5

Author Closing Comment

by:Neil_Bradley
ID: 40308993
Hi Rob,
all validation errors fixed. While this did not solve the problem it did point me in the right direction. In the end it was the animation css that was causing the problem.
Cheers for the pointers.
N
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now