Space between map and streetview

  • Rvdzande
  • Rvdzande's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 year 10 months ago #10408 by Rvdzande
Rvdzande created the topic: Space between map and streetview
Just a simple question. I would like to increase the space between the map and the streetview. I can do this with Firebug, but as soon as copy the code to my override.css it doens't work. I also tried the css overrides for the component and put the css in.

ZHCSS.css

In the component I linked as the path to / cause it's in the root of the site. It isn't clear (to me) from your description where to exactly link to. Hope you can help once again!
Attachments:

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

More
1 year 10 months ago #10409 by Dima
Dima replied the topic: Space between map and streetview
Hi
You can do it different ways:
1 - in template css fix it
2 - you can create your own css file and add it into field "Additional CSS style files for loading" into map details, advanced options

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

Post your sites as examples into my directory
Google: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Yandex: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Baidu: forum.zhuk.cc/index.php/forum/bdm-user-s-sites

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

  • Rvdzande
  • Rvdzande's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 year 10 months ago #10414 by Rvdzande
Rvdzande replied the topic: Space between map and streetview
Ok, will look into this, but wasn't able to find a solution (yet..) Thx!

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

  • Rvdzande
  • Rvdzande's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 year 10 months ago #10429 by Rvdzande
Rvdzande replied the topic: Space between map and streetview
Can you explain how the custom CSS file works?

Tried absolute path, relative path, nothing works.
Tried override.css in my template, also doesn't work

I managed to change everything on my site CSS related besides your component.

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

More
1 year 10 months ago #10436 by Dima
Dima replied the topic: Space between map and streetview
If you can do css with firebug, I think you can do it in template or custom CSS file.
As for template - check what css file is loaded (common case template.css). And add into the end of this file your styles.
If you will add in the begin of file, the other lines below can override it).

As for custom css file. You can create your own css file, upload into any place of server you want. After that just add related (or direct http://your_site/your_folder/your_file.css) into special field in map details (Addition CSS files to load).
And when map will be prepared to show, I load this file. You can add not only one file, just separate with new line or semicolon.

After that you can check in page body that your styles loaded. And check, probably your template override it again. In this case use !important attribute

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

Post your sites as examples into my directory
Google: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Yandex: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Baidu: forum.zhuk.cc/index.php/forum/bdm-user-s-sites

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

Time to create page: 0.104 seconds

Donate


Go to top