Page 1 of 1
changing font color
Posted: 24 Jan 2014, 17:22
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
Re: changing font color
Posted: 27 Jan 2014, 22:05
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
Re: changing font color
Posted: 28 Jan 2014, 10:10
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
Re: changing font color
Posted: 28 Jan 2014, 18:34
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
Re: changing font color
Posted: 29 Jan 2014, 09:56
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
Re: changing font color
Posted: 31 Jan 2014, 00:35
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
Jan