Responsive layout

  • Gandalf
  • Gandalf's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 2 months ago - 10 years 2 months ago #4600 by Gandalf
Responsive layout was created by Gandalf
Hello,
How to achieve responsive layout for ZH Google maps?
The width of map layout is set in px by default, so it slips out of mobile screens with that fixed width. It doesn't accept width in % (e.g. 100% width).
Thx in advance and rgds.
Last edit: 10 years 2 months ago by Gandalf. Reason: tip failure
The following user(s) said Thank You: Marios

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #4603 by Dima
Replied by Dima on topic Responsive layout
Hi

Set map width 0, it means 100% of width. I noticed about that in my docs.
If you want the other, you can set 100%, and publish map by plugin in your div with your styles in custom html module

Don't forget support my developments: post review in JED , donate , help with translation ;)
The following user(s) said Thank You: Marios

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago - 10 years 1 month ago #4823 by ynnadje
Replied by ynnadje on topic Responsive layout
Hi,

I have a problem with this responsive layout

I have a template created with Artisteer 4.
I created a map with hight and with "0".
The maps isn't displayed corectly on no mobile phone. I just see a par of the map.

I even tried your template "Zh_Template_Map_FullScreen - Default" but then I get a blanc screen (mobile and on PC).

What am I doing wrong?

www.blauwlint.be
Last edit: 10 years 1 month ago by ynnadje.

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #4824 by Dima
Replied by Dima on topic Responsive layout
Hi

I've checked your link. The page is loading very long time. I don't know for what reason. Check by web developing tools what part of page is take this time. I can see page source, but can't wait till it loaded. I can check from home at 100Mb channel again.

As for incorrect size with my template, I don't know. You can check my demo page
joomla.zhuk.cc/index.php/zhgooglemap-demo-feature-fullscreen
Is it displayed OK?

Blank page you've got, I think you can't wait to load whole page. I think you should check what is doing on loading. Check browser console on loading time

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.061 seconds

Donate


Go to top