Modals

Problems with modal.php

4 months 2 days ago #78145

Burkhard Christoph's Avatar Burkhard Christoph

Hi

I'm struggling around (again) with the modal.php, and the styling of the modal window.
When i put the modal.php to the template folder, and i set it to load as iframe, it seems to work.
But, the modal window is as big as the Browser window (overwrite my settings) and when i use a link within teh modal window th links opens in the modal window.
When i disable "load as iframe" it looks okay but i don't know where to style.

Thank you
Christoph

4 months 2 days ago #78146

Peter van Westen's Avatar Peter van Westen Admin

If you set the modal to open as iframe, then links inside will open inside the modal. That id how the iframe mode is supposed to work.

For more info about how elements get their styling, you can use the Element Inspector of your browser.

4 months 2 days ago #78149

Burkhard Christoph's Avatar Burkhard Christoph

Ok, thank you

So it is not necessary to have a modal.php inside the template?
So i have to make changes here? ../media/modals/css/bootstrap.min.css ??

Best
Christoph

4 months 2 days ago #78150

Peter van Westen's Avatar Peter van Westen Admin

Or add styles to your templates (custom) css file.