WordPress.org

Support

Support » Plugins and Hacks » Easy Modal » [Resolved] Cannot set height and width

[Resolved] Cannot set height and width

  • 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…

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author danieliser

    @danieliser

    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.

    Plugin Author Walter Messer III

    @waltmesser

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Cannot set height and width’ is closed to new replies.
Skip to toolbar