Page 1 of 1
Changing background color phoca gallery 4.1.2
Posted: 01 Mar 2015, 11:16
by gayan
How to change the background color and other elements such as font color, size, etc in Phoca gallery 4.1.2
Re: Changing background color phoca gallery 4.1.2
Posted: 01 Mar 2015, 13:15
by Benno
Hi,
use e.g. Firebug and edit the corresponding CSS file(s).
Kind regards,
Benno
Re: Changing background color phoca gallery 4.1.2
Posted: 04 Mar 2015, 18:01
by gayan
I try it, but still not working.
I edit media/com_phocagallery/css/custom/default.php
any other file to edit ?
Re: Changing background color phoca gallery 4.1.2
Posted: 06 Mar 2015, 14:58
by Jan
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