Problems setting 100% width

  • Rvdz
  • Rvdz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 years 8 months ago - 2 years 8 months ago #6559 by Rvdz
Rvdz created the topic: Problems setting 100% width
Forgive for me just signing up for the forum to get support. I migrated your extension from an old Joomla site to J3x and it works great on a desktop. Unfortunately I cannot get it responsive on mobile devices.

For component it only works if I define a height in pixels, so 0 doesn't work. For plugin adding: width:0 (as suggested in documentation) neither doesn't work. I've checked your forum various times but I cannot come up with a clue.

First I had the maps in tab, but now I moved them in order to at least make them size on a desktop.

Any clues which can help me?

Example for component with max height set for 300px and max width as 0 / 100%:
kookstudio.west-point.nl/kookstudios-op-de-kaart

Example for plugin (used in 30 pages):
kookstudio.west-point.nl/kookstudios-per...centrum-aarle-rixtel

Hope you can help out. I don't mind paying for support if that's needed, just let me know!

The page is obviously under development.
Last Edit: 2 years 8 months ago by Rvdz.

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

More
2 years 8 months ago #6574 by Dima
Dima replied the topic: Problems setting 100% width
Hi.

I'm not clear understand. You ask many questions.
As for responsive:
If you set 0 for width, I set 100% for map div, in this case map will be floating width.

For first link - map occupy it's content correctly (I think)

As for height!
The problem is: if your template has nested divs, and you want to set 100% height for map div, you have to set 100% height for each nested div. I wrote about that many times of forum. In other case it collapsed and you can't see a map

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites

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

  • Rvdz
  • Rvdz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 years 8 months ago #6601 by Rvdz
Rvdz replied the topic: Problems setting 100% width
The problem is fixed after some site changes, so thx!

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

Time to create page: 0.046 seconds

Donate


Go to top