Ready to get started?Download WordPress


Easy Modal
[resolved] Cannot set height and width (3 posts)

  1. vonder86
    Posted 9 months ago #

    I am trying to set-up the height and width of the modal using shortcode, but it stays the same. I used the following shortcode:

    [modal id=Test height="480" width="300"]

    The modal is working, but the size is just random. I had more success with

    [modal id=Test size="small"] It assign a smaller width, but height is ignored.

    Is there any way I can do that (even hardcoding the value?) Also - what are the attributes of size: small, normal, large? What else - there is nothing about it on your website...


  2. danieliser
    Plugin Author

    Posted 9 months ago #

    The predefined sizes are all built for responsive website or content. They are roughly 30%-70% of screen width.

    You could define a height using #eModal-Test { height:200px; }

    Hope this helps.

  3. waltmesser
    Plugin Author

    Posted 4 months ago #

    In the latest version of Easy Modal, you can easily set your modal sizes any way you like in the WP Admin: Easy Modal -> Modals -> Your Modal -> Display Options

    See how easy it is here.


You must log in to post.

About this Plugin

About this Topic