No global css rules, please!

Phoca Gallery - image gallery extension
birdie
Phoca Member
Phoca Member
Posts: 22
Joined: 16 Aug 2008, 12:31

No global css rules, please!

Post by birdie »

Hi Jan,

in phoca gallery 1.8.8 you have some css rules that apply globally, i.e. to non-gallery elements too. It is not very nice of a component's css file to have a global rule for:
a img { ... }
for instance, as it changes and overrules all the settings of the joomla template! Better would be, if all css rules are restricted to the component / module in their scope.

The same applies to your random image module, too, btw.

Hope this changes in version 2.0. :idea:

Thanks for all your good work, though!
birdie
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No global css rules, please!

Post by Jan »

Hi, you right, I will take a look at it...

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