standard width infowindow

More
4 years 4 months ago #3415 by Dima
Dima replied the topic: standard width infowindow
Hi.

It is in your template. It is css styles.

Go to admin panel.

Menu Extensions -> Template Manager

You'll see two tabs

Styles
Templates

On the first tab you can define what template you use for admin and what - for site.

Switch to the second tab, and in table find your template, which you use for site part (front end).

And click on the second column (title of template) for opening template details

When you'll see details, you can notice Stylesheets block, which contains list of template files. That is out point to change.

When you check your page, you can check what template CSS styles is loaded (from page source, for example), and what style from what file is applied on some page items (by firebug, for example).

For example, it is template.css file.

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.

More
4 years 4 months ago #3416 by drbartek
drbartek replied the topic: standard width infowindow
OK but I do not see class gm-style div.
How do you think about:
wordpress.stackexchange.com/questions/11...hus-breaking-the-map

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

More
4 years 4 months ago #3417 by Dima
Dima replied the topic: standard width infowindow
It is like the same problem but in WP. Template is loaded, and some JavaScript load css.

I haven't time in your case find out what the other extension do that bad work. Try to find out by yourself. Apply default template and check - if map correct, than it is template. If not - then the other plugin dynamically append this styles into your page (because it shows that styles inline, ie on page).

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.

More
4 years 4 months ago #3421 by drbartek
drbartek replied the topic: standard width infowindow
Hi Dima,

That's enough:

.gm-style-iw div{
display:inline-block!important;
}
Thank you for your help :-)

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

More
4 years 4 months ago #3424 by Dima
Dima replied the topic: standard width infowindow
But the main problem still exists - from what that slyles appear

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.

More
4 years 4 months ago #3508 by Dima
Dima replied the topic: standard width infowindow
I've got this styles too. I think it produced by Google Maps API.
And got this problems too. Now I fixed it by adding some styles into my component.

Do update it by Extension Manager. I fixed it, I think

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.

Time to create page: 0.110 seconds

Donate


Go to top