CSS changes seems not to be applied

Phoca Gallery - image gallery extension
Yashin
Phoca Member
Phoca Member
Posts: 13
Joined: 05 Jul 2018, 14:43

Re: CSS changes seems not to be applied

Post by Yashin »

Risolto! Ho svuotato la cache di cloudflare!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: CSS changes seems not to be applied

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
autonicknan
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 12 Jul 2018, 00:35

Re: CSS changes seems not to be applied

Post by autonicknan »

Hi Cristine,

Thanks for your replies.

I use the latest PhocaGallery version.
I finally managed to see the changes in the front end after clearing the cache.

Is there any link you can share regarding the css temlpates on PG?
In general, under styles section I see 3 different css templates(default,phocagallery and rating). Do you know why 3 different are needed and which is the usage of each single one?

Thanks
Br, Nikos
christine
Phoca Hero
Phoca Hero
Posts: 2737
Joined: 28 Nov 2010, 17:20

Re: CSS changes seems not to be applied

Post by christine »

Hi Nikos,

you CSS changes has been changed successfully?

There are so many reasons for different style sheet CSS. Such as which template, or framework, bootstrap, javascript etc.
Here an example of PG template: https://www.phoca.cz/joomla3demo/category/1-celebration > phocagallery.css/rating.css/default.css AND a custom.css > this will be loaded at last and takes precedence over parameters in above CSS.
Just an example.

Or: Helix is using also custom.css to override color presets and much more. In generell, when making changes/amendments to some codes/parameters, I prefer to put such codes at the end of e.g. main template.css or custom.css or user.css (depends on template).

You can check with F12 your html and/or CSS Codes etc.

Some CSS info: https://www.w3schools.com/cssref/pr_bac ... -color.asp

Kind regards
Christine
Post Reply