css file influences css file of template

Phoca Gallery - image gallery extension
User avatar
jeejeestudio
Phoca Professional
Phoca Professional
Posts: 113
Joined: 12 Feb 2008, 13:44
Location: Netherlands

css file influences css file of template

Post by jeejeestudio »

Hi,

i just discovered that bootstrap.min.css influences the look of other modules.
Except for the page where Phoca Gallery is opened, here the modules look ok.

If i unpublish the Phoca Gallery module, then all other modules look ok again.

Checking the site with Firebug i discovered that some parts were influenced by this file.

I'm using Protostar with adjusted colors in the Template.css

Any idea why this is happening? Because it should not.

Thanks for any help on this.

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: css file influences css file of template

Post by christine »

Hi,

Try following: Disable bootstrap.min.css in PG CSS (Themes)

Kind regards, Christine
User avatar
jeejeestudio
Phoca Professional
Phoca Professional
Posts: 113
Joined: 12 Feb 2008, 13:44
Location: Netherlands

Re: css file influences css file of template

Post by jeejeestudio »

Hi Christine,

i changed the extension of bootstrap.min.css to .bak. This seems to do the trick.
Does it not have any influnce on other responsive thingy's?

Is it a bug and will it be solved?

Thanks!

Kind regards,
Jerry
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: css file influences css file of template

Post by christine »

Hi Jerry,
jeejeestudio wrote: 27 Mar 2017, 21:34i changed the extension of bootstrap.min.css to .bak. This seems to do the trick.
Why? Just disable in backend under PG Themes.
Does it not have any influnce on other responsive thingy's?
in principle not. As Protostar consist bootstrap.min.css

Is it a bug and will it be solved?
it's not a bug. But maybe other or older templates do not have bootstrap.min.css

Groetjes, Christine
User avatar
jeejeestudio
Phoca Professional
Phoca Professional
Posts: 113
Joined: 12 Feb 2008, 13:44
Location: Netherlands

Re: css file influences css file of template

Post by jeejeestudio »

Hoi Christine,

ok though't you ment the file itself.

Thanks for the explanation.

Fijne avond.
Groetjes, Jerry
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: css file influences css file of template

Post by christine »

Hi Jerry,

fijn, dat het geklopt had. Dus als een template all bootstrap.min.css gaat laden, dan kan het conflict geven, als het dubbelt geladen word.

Groetjes, Christine
User avatar
jeejeestudio
Phoca Professional
Phoca Professional
Posts: 113
Joined: 12 Feb 2008, 13:44
Location: Netherlands

Re: css file influences css file of template

Post by jeejeestudio »

Hoi Christine,

bedankt voor de heldere uitleg ;)

Groetjes,
Jerry
Post Reply