Elxis CMS Forum
Extensions => Bots and plugins => Topic started 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!
-
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):
#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:
#cboxTopLeft{width:25px; height:25px; background:url(/foldername/includes/js/jquery/colorbox/images/border1.png) no-repeat 0 0;}
-
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!