WordPress.org

Ready to get started?Download WordPress

Forums

Easy Modal
[resolved] Modal opening really wide (5 posts)

  1. Bill Gilmore
    Member
    Posted 7 months ago #

    Hi, since the update the modal on my site is opening super wide across browsers. To make it look a bit better I wrapped the Modal contents in a div 300px max-width with margin 0 auto.

    Can you help me change the modal to not have this set size, looks like its stuck on 90%

    Love your plugin and reviewed it 5/5

    http://wordpress.org/plugins/easy-modal/

  2. danieliser
    Member
    Plugin Author

    Posted 7 months ago #

    Have you tried going to the options tab when editing that modal and trying on of the other sizes?

  3. Bill Gilmore
    Member
    Posted 7 months ago #

    GRUMBLE! Don't know why I didn't see that. Sorry for annoying you.

    Any chance you know how to set the input and text area to be responsive? Ive done it with the form on the contact page and this is the same form, as so...

    #cntctfrm_contact_form input, #cntctfrm_contact_form textarea {
    padding: 5px;
    max-width: 100%;
    }

    But it does not work with the modal for some reason.

  4. danieliser
    Member
    Plugin Author

    Posted 7 months ago #

    Might need to add either display:block; or width:100%;

  5. Bill Gilmore
    Member
    Posted 7 months ago #

    Added that but it didn't work. In the end I wrapped everything inside the modal in a div with this style: "max-width:300px; margin:0 auto; overflow:hidden;"

    That did the job, thanks for your support and keep up the great work with Easy Modal. I'll definitely be buying your pro version for a few clients in the near future. Thanks

Reply

You must log in to post.

About this Plugin

About this Topic