Page 1 of 1

Modify CSS info box

Posted: 13 Jan 2010, 15:56
by d-force
Hi to everybody,

I kindly ask you if there is a possibility to modify the css file for the info box that we see once we click on a marker on the map.

If in the article that display the map there is already an <h1> tag, the infobox of a marker will display the name with <h1> css of the article.

It's possible to change the format of the "info box"?

Thanks! :wink:

Re: Modify CSS info box

Posted: 18 Jan 2010, 18:01
by Jan
Hi, you can modify it in the code, see:
components\com_phocamaps\views\map\tmpl\default.php

Jan

Re: Modify CSS info box

Posted: 18 Jan 2010, 18:22
by d-force
Thank you Jan, I will have alook there! :|

Re: Modify CSS info box

Posted: 19 Jan 2010, 19:03
by Jan
Ok

Re: Modify CSS info box

Posted: 19 Jan 2010, 23:56
by d-force
Hi Jan, I couldn't able to modify the aspect of "info box".

In the file you suggested me I have found the following items:

// Check values

// Design

// Plugin - no border

// Map Box (maybe is this?)

Could you help me? Thanks a lot!

Re: Modify CSS info box

Posted: 20 Jan 2010, 15:31
by Jan
Hi, you should find the h1 tag and change to your own.

Jan

Re: Modify CSS info box

Posted: 20 Jan 2010, 17:24
by d-force
Jan wrote:Hi, you should find the h1 tag and change to your own.

Jan
Its seems there is no <h1> tag in the whole component.... :shock:

Re: Modify CSS info box

Posted: 23 Jan 2010, 23:05
by Jan
Hi, yes there is, in this file:
components\com_phocamaps\views\map\tmpl\default.php

line 296

Jan

Re: Modify CSS info box

Posted: 26 Jan 2010, 21:28
by d-force
OK I found it... :oops:

And what about to configure dimensions of infobox? Is that possible?

Re: Modify CSS info box

Posted: 31 Jan 2010, 22:14
by Jan
Hi, this depends on the conent, so you can try to set dimensions in editor (some limitation will be set by Google API, maybe :idea: )