Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I.e.:
The extra class "ctools-modal-modal-popup-small" in the links above tells the module what popup style size to use. There are three options included.
ctools-modal-modal-popup-small (defaults to 300x300)
ctools-modal-modal-popup-medium (defaults to 550x450)
ctools-modal-modal-popup-large (defaults to 80%x80%)
How to set of size of modal window?
Comments
Comment #1
maximpodorov CreditAttribution: maximpodorov commentedI don't understand your problem. This module is used with additional classes (for window sizes) of links, and everything is OK.
Comment #2
VVS CreditAttribution: VVS commentedЯ добавляю к ссылке класс ctools-modal-modal-popup-small, но entityform всё так же открывается в дефолтном размере.
Comment #3
maximpodorov CreditAttribution: maximpodorov commentedIt's very strange. CTools should utilize the class.
Comment #4
trailerparkopera CreditAttribution: trailerparkopera commentedThese classes are part of the modal forms module (https://www.drupal.org/project/modal_forms) and will work if you have this module installed along with the Modal Operations module. You can create your own classes to size the module window to the sizes you want.