- Posts: 2
- Thank you received: 0
Problems setting 100% width
- Rvdz
- Topic Author
- Offline
- New Member
Less
More
9 years 6 months ago - 9 years 6 months ago #6559
by Rvdz
Problems setting 100% width was created by Rvdz
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.
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: 9 years 6 months ago by Rvdz.
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
9 years 6 months ago #6574
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on 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
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 , help with translation
Please Log in or Create an account to join the conversation.
- Rvdz
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
9 years 6 months ago #6601
by Rvdz
Replied by Rvdz on 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.170 seconds