Changing background color phoca gallery 4.1.2
-
gayan
- Phoca Newbie

- Posts: 5
- Joined: 22 Jul 2014, 14:29
Changing background color phoca gallery 4.1.2
How to change the background color and other elements such as font color, size, etc in Phoca gallery 4.1.2
- Benno
- Phoca Hero

- Posts: 9965
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Changing background color phoca gallery 4.1.2
Hi,
use e.g. Firebug and edit the corresponding CSS file(s).
Kind regards,
Benno
use e.g. Firebug and edit the corresponding CSS file(s).
Kind regards,
Benno
-
gayan
- Phoca Newbie

- Posts: 5
- Joined: 22 Jul 2014, 14:29
Re: Changing background color phoca gallery 4.1.2
I try it, but still not working.
I edit media/com_phocagallery/css/custom/default.php
any other file to edit ?
I edit media/com_phocagallery/css/custom/default.php
any other file to edit ?
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Changing background color phoca gallery 4.1.2
Hi, you can do it easily per CSS, not in php file.
Go to administration, create new CSS file and add new attributes there.
Example:
1) create "custom.css" file
2) add:
.pg-cv-name {
color: red;
}
This will change the font color to red (font color of image titles)
To see which CSS class or id you should add, use the Firebug in Firefox (for example) - Mouse hover on the element (part of your site) you want to change and the CSS class or id will be displayed for you.
Jan
Go to administration, create new CSS file and add new attributes there.
Example:
1) create "custom.css" file
2) add:
.pg-cv-name {
color: red;
}
This will change the font color to red (font color of image titles)
To see which CSS class or id you should add, use the Firebug in Firefox (for example) - Mouse hover on the element (part of your site) you want to change and the CSS class or id will be displayed for you.
Jan
If you find Phoca extensions useful, please support the project