Make map responsive?

More
4 years 10 months ago #12873 by Dima
Replied by Dima on topic Make map responsive?
I set width for my map to 0

I created addition CSS file with style
Code:
.my_responsive_map { height: 50vh !important; }

upload to server

then add my class to my map and set load my CSS file



after that my map is responsive - width 100% and height 50% of visible.

You can check my demo, just resize browser window

joomla.zhuk.cc/index.php/zhosmmap-main/o...n/om-main-simple-map

You can see that height changing too

Don't forget support my developments: post review in JED , donate , help with translation ;)
  • Please Log in or Create an account to join the conversation.

    Time to create page: 0.200 seconds
    Powered by Kunena Forum