2 years 8 months ago - 2 years 8 months ago#6559by 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.
Dima replied the topic: Problems setting 100% width
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