Modal popup size

Phoca Maps - displaying maps in Joomla! CMS
petjez
Phoca Member
Phoca Member
Posts: 44
Joined: 04 Mar 2012, 21:48

Modal popup size

Post 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

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2904
Joined: 28 Nov 2010, 17:20

Re: Modal popup size

Post 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
petjez
Phoca Member
Phoca Member
Posts: 44
Joined: 04 Mar 2012, 21:48

Re: Modal popup size

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2904
Joined: 28 Nov 2010, 17:20

Re: Modal popup size

Post 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
Post Reply