Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter diostar215

    (@diostar215)

    Hi,

    Also, is there a way to add a custom html div inside the modal dialog?

    <div id="landing_container"></div>

    Thanks!

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    The size of the window is determined under the Modal Dialog Configuration section under Layout. As for having your own div, you can put any HTML you want in the dialog contents.

    Please consider donating to support this plugin’s development.

    Hi,

    Is there a way to set a max-width on the modal dialog so that it works responsively, but on large screens the width can be restricted?

    I tried this using CSS, but of course the JS has already dynamically set the modal position so this method isn’t working. I can see from the Colorbox docs (https://www.jacklmoore.com/colorbox/) that there is a maxWidth and maxHeight config option but I’m not sure how this could be accessed in Modal Dialog plugin?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Resizing the colorbox window’ is closed to new replies.