Forum Support

 
Advanced Search


[1]

Offline elliottben
Free Member
Posts: 39

We are using the s5box for our login box. This seems to be a recent issue as previously the s5 modal was working fine.

The expected behavior is that when a user clicks the link to open the modal it will appear in the middle of the window. What happens now (only on pages taller than the browser window) is when a user clicks the link to open the modal it jumps to the top of the page and then opens the modal in the middle of the page (based on the height of the full page, not just visible part of the page). This results in a modal located outside of the user's view and they have to scroll down the page to find the login box. You can see this behavior at: http://slswhitestone.org

Click the link at the bottom right "Teacher Login" (screen shot attached)

This previously didn't happen, the modal would appear centered in the visible area of the current browser page. Is there something we might have changed that is causing this behavior and how can we fix it?

Thanks
Logged

Offline jonahh
Free Member
Posts: 23789 WWW

Hello,

Please add the following to your custom.css file and this should fix the issue:


Code:
body #colorbox {
position:fixed !important;
top:150px !important;}
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.018 seconds with 21 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.