Page 1 of 1

Modal popup size

Posted: 15 Jun 2025, 13:41
by petjez
Hello,

i've tried to enlarge the modal popup size of one of the maps. If i set the map width and map height the map is enlarged, but the modal popup does not get the dimensions.

How can i get a larger modal popup or set the modal popup size in percentages so it scales with the screen size?

https://globetrotten.nl click on 'KAART' in one of the articles.

Kind regards,
Patrick

Re: Modal popup size

Posted: 15 Jun 2025, 19:33
by christine
Hi Patrick,

For some cards, I've noticed that you've added code to the default.css in the meantime. /* Modals */ etc. Please delete it there.
Sometimes I see the default.css after the user.css.
But the user.css must be after it.

Try the following: Add this to the user.css of your child template:

Code: Select all

#pmPlgModal .modal-dialog {
height: 100%;
max-width: 100%;
}
Groetjes
Christine

Re: Modal popup size

Posted: 18 Jun 2025, 16:13
by petjez
Thank you Christine,

i tried adding the lines to the user.css without succes. I changed the lines in default.css and now it works.

Thank you very much,
Patrick

Re: Modal popup size

Posted: 18 Jun 2025, 23:18
by christine
Hi Patrick,

Prima.

One more tip: Changes are usually always made in the user.css, as you've already made many. Compliments!
It worked temporarily for me (user.css). But I deleted it in the default.css. But cache often plays a role.

Nog een tip: als u het onderste menu horizontaal wilt hebben, kunt u het volgende doen:

Image

Groetjes
Christine