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!
Modify CSS info box
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Modify CSS info box
Hi, you can modify it in the code, see:
components\com_phocamaps\views\map\tmpl\default.php
Jan
components\com_phocamaps\views\map\tmpl\default.php
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 04 Jan 2010, 22:22
Re: Modify CSS info box
Thank you Jan, I will have alook there!
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
-
- Phoca Member
- Posts: 10
- Joined: 04 Jan 2010, 22:22
Re: Modify CSS info box
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!
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!
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Modify CSS info box
Hi, you should find the h1 tag and change to your own.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 04 Jan 2010, 22:22
Re: Modify CSS info box
Its seems there is no <h1> tag in the whole component....Jan wrote:Hi, you should find the h1 tag and change to your own.
Jan
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Modify CSS info box
Hi, yes there is, in this file:
components\com_phocamaps\views\map\tmpl\default.php
line 296
Jan
components\com_phocamaps\views\map\tmpl\default.php
line 296
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 04 Jan 2010, 22:22
Re: Modify CSS info box
OK I found it...
And what about to configure dimensions of infobox? Is that possible?
And what about to configure dimensions of infobox? Is that possible?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Modify CSS info box
Hi, this depends on the conent, so you can try to set dimensions in editor (some limitation will be set by Google API, maybe )
If you find Phoca extensions useful, please support the project