Results 1 to 3 of 3

Thread: How to change 'simple-modal' width?

  1. #1
    New user
    Join Date
    04-07-13.
    Posts
    1

    Default How to change 'simple-modal' width?

    I think the Contao is a grate CMS.

    using the Contao 3.0.6 ,I've changed the backend width. (for bigger font I like.)
    changes #contener width 1080px (+120) and system/themes/default main.css & basic.css
    some width point plus.

    it's working good, but "simple-modal" window still narrow. at 765px in style coding.
    I can't find where is this width setting.

    Does someone knows how to change backend modal window width?

    Thank you!

    saki...

  2. #2
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: How to change 'simple-modal' width?

    Take a look at /assets/mootools/simplemodal/*version*/js/simplemodal.js
    I found that in .../1.2/js/simplemodal-uncompressed.js at lines 138 and 328 the width gets set that is used to scale simplemodal. That variable is set in an outside source though...

    I'm afraid that the width for the modalwindow is set in the Contao core PHP scripts. Search for openModalIframe and you'll find /system/modules/core/classes/DataContainer.php contains code to open the simplemodal with 765 hardcoded.

    Feature request this to be "themable" at Github.

  3. #3
    Jimenez
    Gast

    Default Re: How to change 'simple-modal' width?

    Hello ,
    I agree with your advice . It Is great rule for modal . So it follow up .
    Regards
    Jimenez

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •