WordPress.org

Forums

Ultimate Modal
[resolved] Modal Responsive for mobile devices (10 posts)

  1. Emily
    Member
    Posted 1 year ago #

    Hi,

    I put this modal on my site (www.oicmoments.com) but am having a problem when viewing on a mobile device. The window is so large, I can't scroll/move to get to either the X to close the window or the submit button for the email address. I really like your plugin and want to use it and appreciate any advice you have for how this can be fixed.

    Emily

    http://wordpress.org/extend/plugins/ultimate-modal/

  2. Claudio Sanches
    Member
    Plugin Author

    Posted 1 year ago #

    Next version will disable it completely on mobile.

  3. emanweb
    Member
    Posted 1 year ago #

    I fixed this problem by using a 300x200px modal and adding a "close" button inside the content. It works perfect on mobile devices.

  4. Emily
    Member
    Posted 1 year ago #

    @Emanweb- Do you have a different size one for your website? I'd like to keep the 800x460 size I have on the main site, but have the smaller one for modal. How do you set that up? Thanks!

  5. Emily
    Member
    Posted 1 year ago #

    Hi- Is anyone able to help me? Is it possible to have separate sizes for mobile and the main website?

  6. Emily
    Member
    Posted 1 year ago #

    @Claudio: when will the next version be available?

    @Emanweb: Would you be willing to share the code for the close button inside the content you used? Even if mobile users couldn't scroll on the modal, it might at least allow them to close the window.

    Thank you!

  7. emanweb
    Member
    Posted 1 year ago #

    You can see the code in action here: http://smk24.com/ I had to make few changes to the plugin's code and CSS in order to work the way I want. Not sure it's the solution you need. Good luck.

  8. Emily
    Member
    Posted 1 year ago #

    @Emanweb- Thanks for writing back. I looked at your site on my computer and on a mobile device. I get the modal, but it doesn't have a close button, just the two age choices. Is there another page on the site I should look for?

  9. emanweb
    Member
    Posted 1 year ago #

    I made changes to the modal code as I told you. I think in your case you can change the buttons I used to "close" the modal.

  10. Claudio Sanches
    Member
    Plugin Author

    Posted 1 year ago #

    Actually the best solution would be responsive CSS in your themes.
    I tried a few things in the plugin, but no way to be nice to everyone.
    It is best to customize the theme even to get in the best for you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ultimate Modal
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic