changing font color

Phoca Maps - displaying maps in Joomla! CMS
ilfriz80
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 11 Jul 2008, 10:16

changing font color

Post by ilfriz80 »

Hi, my css file has white font color, so in Phoca maps the pop up windows appears with white font with white background....
How can I change the font colour of the popup without changing the colour of the font in the entire css website?

thank you in advance
Claudio
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: changing font color

Post by Jan »

Hi, just set some class for the content in your description and set e.g. black color for this class in your template or just see the html of the Google Maps marker and change the color only for this part.

Jan
If you find Phoca extensions useful, please support the project
ilfriz80
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 11 Jul 2008, 10:16

Re: changing font color

Post by ilfriz80 »

thank you for your answer, but I've tried to insert a new set font colour and I cannot understand where I have to put.
The font in my window Phoca marker is white because the 2ns row of the website template is color: #FFFFFF;
Where's the file of Phoca that tell to use this row? I don't want

2nd solution: how can change the backround of the white window in the marker? if I put black I will solve

thank you and sorry for my english
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: changing font color

Post by Jan »

Hi, the background of the marker is fully managed by Google Maps API, so I think, this cannot be changed.

If you have set some description - some text, you can directly customize its html - setting e.g. style="color: #your-color"

Phoca does not stylize the color here, so the used classes or ids needs to be searched in html/js output and the style needs to be set for them.

Jan
If you find Phoca extensions useful, please support the project
ilfriz80
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 11 Jul 2008, 10:16

Re: changing font color

Post by ilfriz80 »

please...last question :)
how can I remove the title in the box? I cannot change the colour of this, so it's better without
thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: changing font color

Post by Jan »

Hi, depends on if the title is a part of description = can be removed in description or if the title is the part of marker - then the javascript of Google Maps API needs to be changed directly in the code :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply