Page 1 of 1

Mobile support

Posted: 23 Jul 2019, 13:45
by Wendigo
Hi,
I'm making a website that needs to have support for mobile devices. I've made a map that shows perfectly on desktop but when on my phone the width won't adapt, leaving me with a contact page that looks a bit funky on mobile. Is there a way to make the dimensions of the map dynamic?
Thankfull for answers!
Wendigo

Re: Mobile support

Posted: 23 Jul 2019, 16:45
by Jan
Hi, do you display the map with help of component or plugin?

Jan

Re: Mobile support

Posted: 24 Jul 2019, 08:55
by Wendigo
Jan wrote: 23 Jul 2019, 16:45 Hi, do you display the map with help of component or plugin?

Jan

Hi Jan, thanks for your response!

I'm displaying it as a plugin.

Wendigo

Re: Mobile support

Posted: 26 Jul 2019, 13:00
by Jan
Hi, which version do you use? When you skip adding width parameter to map or adding "0", the map should get 100% width

See demo:
https://www.phoca.cz/joomla3demo/phoca-maps-demo

Image

Image

Should work the same way on desktop or mobile view :idea:

Jan

Re: Mobile support

Posted: 27 Jul 2019, 22:49
by Wendigo
Jan the man!

Thanks for the help. You solved my issue!

Wendigo

Re: Mobile support

Posted: 29 Jul 2019, 13:52
by Jan
Great to hear it.