Elxis CMS Forum

Extensions => Bots and plugins => Topic started by: kyomar on July 05, 2013, 08:18:01

Title: Gallery plugin - css minifier problem
Post by: kyomar on July 05, 2013, 08:18:01
Hi, I wanted to turn on css minifier but then the gallery plugin isn't working properly anymore. I know I have to change the following url: "background:url(images/border1.png) no-repeat 0 0;}" in the file colorbox.css. I have tried every possible url but nothing seems to work ???. Any help would be very appreciated.

Thank you!
Title: Re: Gallery plugin - css minifier problem
Post by: datahell on July 05, 2013, 09:13:20
The instructions below are for those having Elxis installed in their web root folder, not in a folder.

Open file: includes/js/jquery/colorbox/colorbox.css

Change all background images from "images/..." to "/includes/js/jquery/colorbox/images/..."

For example (Elxis in root folder):
Code: [Select]
#cboxTopLeft{width:25px; height:25px; background:url(/includes/js/jquery/colorbox/images/border1.png) no-repeat 0 0;}
If you have Elxis installed in a folder put the folder name infront of the path:
Code: [Select]
#cboxTopLeft{width:25px; height:25px; background:url(/foldername/includes/js/jquery/colorbox/images/border1.png) no-repeat 0 0;}
Title: Re: Gallery plugin - css minifier problem
Post by: kyomar on July 05, 2013, 10:36:45
Again, you saved my day - thank you! I did actually the same but on my local installation (xampp) and it didn't work. On the remote site everything works fine now. Finally everything (cache, gzip, js & cs minifier) up and running. Hope the site gets a little speed boost.

Have a great weekend!