full width map with side panel

  • crossbow
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 4 months ago - 1 year 4 months ago #14756 by crossbow
full width map with side panel was created by crossbow
* EDIT *
Just realised that if I write 0 at width, it applies 100%.
So sort it out....



I'm trying to have a full width map and use a side panel as well.
I'm not using the full page template, but my own.

If I set my map at 100% or 100vw through my own css, the panel doesn't woek nicely. From what I understand, when the panel opens it calculates the width to shrink the map accordingly and my css override messes things.

I've checked your demos and in the panel demo: joomla.zhuk.cc/index.php/zhosmmap-main/o...ature-map-with-panel
the map width is set at 100% and it works nicely.

If I try to set the width at 100% at the map settings, it changes it to 100px.
How can I use % as a width?
Last edit: 1 year 4 months ago by crossbow.

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

More
1 year 4 months ago #14758 by Dima
Replied by Dima on topic full width map with side panel
Hi
You can include your map into any div, and apply 0 for width. In this case it takes 100%.
But for height this trick is not valid (you can read many posts on my forum about that) - about nested divs

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.

  • crossbow
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 4 months ago #14784 by crossbow
Replied by crossbow on topic full width map with side panel
thanks, they height had it figured out. For some reason I was stuck with the width

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

Time to create page: 0.117 seconds

Donate


Go to top