Creating new style in PG 4

Phoca Gallery - image gallery extension
petjez
Phoca Member
Phoca Member
Posts: 44
Joined: 04 Mar 2012, 21:48

Creating new style in PG 4

Post by petjez »

Hi,

i think i don't get it.'I've copied the default style, by making a new style and copying the CSS code. I disabled the default style and enabled the new style. But the newly created style is not used. How can i create my own style or own Theme in Phoca Gallery 4??

Regards,
Patrick
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Creating new style in PG 4

Post by Jan »

Hi, there are two features. Making a theme and loading a CSS file.

In Phoca Gallery administration, you can set which CSS files will be active or not - such CSS file you can ftp to server or you can include it as a part of the theme.

If the css file is active, it is then loaded in frontend. :idea:

Jan
If you find Phoca extensions useful, please support the project
petjez
Phoca Member
Phoca Member
Posts: 44
Joined: 04 Mar 2012, 21:48

Re: Creating new style in PG 4

Post by petjez »

Hmmm,

don't know how to make a theme, because a example is not included right?

Also when i include a new CSS in the Styles part it will not show up in the frontend. I've simply disabled all CSS files under the Styles section. Then only enabled my inserted CSS file. But, no show??!

Thanks Jan,
Patrick
petjez
Phoca Member
Phoca Member
Posts: 44
Joined: 04 Mar 2012, 21:48

Re: Creating new style in PG 4

Post by petjez »

Hi,

forget about it, it works flawless! It was my local browser cache that seems to load the wrong CSS file.

I'm glad it works,
Thanks alot for this new great gallery,

Patrick
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Creating new style in PG 4

Post by Jan »

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