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...
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.
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