Comments colour

Phoca Gallery - image gallery extension
GJo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 29 Dec 2008, 21:36

Comments colour

Post by GJo »

How can I change the colour of comments? The default colour is white on white background, it's not very good for reading. Where can I change it?
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Comments colour

Post by caro84g »

Hi,

could you say about what component you're talking?
Phoca Gallery
Phoca Guestbook
Phoca Favicon
Phoca Documentation
Phoca Download?

Then I can move this topic in the right forums,

thank you,

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
GJo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 29 Dec 2008, 21:36

Re: Comments colour

Post by GJo »

Hi!
I'm talking about PhocaGallery.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Comments colour

Post by Jan »

The default colour is white on white background
Hi, this should be set by your template, I think there is only standard p or div which should be changed ...

id for coments is:

id="phocagallery-comments"

so you need to change it in your template, e.g.:

#phocagallery-comments p {color: #000000}
If you find Phoca extensions useful, please support the project
GJo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 29 Dec 2008, 21:36

Re: Comments colour

Post by GJo »

Hi, Jan! Happy New Year!

Sorry, but I didn't understand, should I add this line #phocagallery-comments p {color: #000000} to the CSS file of my template? Or where can I find it? In CSS there is no such line.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Comments colour

Post by Jan »

Hi, yes

Jan
If you find Phoca extensions useful, please support the project
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Comments colour

Post by caro84g »

Hi,

add the line Jan mentioned to your template.css - it isn't there. Right now it's styled in some PHP file, but template css overwrites this.

If you want to know the exact code, I suggest you use Firebug, a Firefox addon. With this addon you can identify the exact css classes which apply to a certain element.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
DjMorley
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Feb 2009, 19:08

Re: Comments colour

Post by DjMorley »

Hi im haveing the same problem where will i find this file to edit it so i can change it to black or any thing els i may change as on the commets its wight and so is the text so i cant see it at all lol i just need to no wich file and where to find the file is so i can fix this

Thanks
DjMorley
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Feb 2009, 19:08

Re: Comments colour

Post by DjMorley »

Update:

On my page for this comment box it shows after i comment this

Image

But Here you can see when i highlight it the text is there so how do i change this so it shows the text as Black

Image

if you can help can you tell me wich file i need to edit and where i can find the file that needs editing as i read the info above and it didnt tell me where i can find the file in my FTP

Thanks

Ps: im useing the galley that as the commet box with it
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Comments colour

Post by caro84g »

Hi,

To do this, you need to know something about CSS and about templating.

Get firebug (a firefox addon). With this tool you can identify the different classes which apply to the text.
Then add some styling lines into your template (I don't know which file it is, because it differs per template).

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Post Reply