Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Minify CSS using W3 Total Cache
Tagged: css, lightbox, minify, W3 Total Cache
- This topic has 7 replies, 2 voices, and was last updated 8 years, 8 months ago by Hazard.
June 28, 2014 at 4:18 pm #11091
Hi all, I’m optimizing my site using W3 Total Cache, and I am trying to minify the WP Lightbox Ultimate CSS files. But when I minify the CSS files, the fancy box does not work in the site properly.
I have played around with the order but I have not been able to stumble upon the correct order so the plugin works after minimization. Has anyone tried this before? Does anyone know which is the correct order to keep the plugin functioning properly?
All of my other plugin CSS files minimize properly without losing functionality.
Here are the files I am working with:
Any help or insights would be appreciated.
[http://www.aquariumcarebasics.com/]June 29, 2014 at 2:06 am #63985
Hi, it’s working fine for me. You may have a typo in the URL. Please enter the URL like the following:
Make sure to click the “Verify URI” button after adding a style sheet.June 30, 2014 at 12:42 pm #63986
Thanks, that worked. But I found one more, and when I add it the fancybox does not work correctly
Where does this go in the order? Any ideas?
Thanks a million
HazJuly 1, 2014 at 12:54 am #63987
It’s still working for me with the prettyPhoto style sheet. prettyPhoto is a completely different library. So it shouldn’t affect fancybox.July 1, 2014 at 3:07 am #63988
On my end, minifying this css file (wp-content/plugins/wp-lightbox-ultimate/lib/prettyPhoto/css/prettyPhoto.css) prevents the PrettyPhoto pop-up window from working properly. Now sure why it does not work for me.
Any insight would be appreciated.
HazJuly 1, 2014 at 11:44 pm #63989
prettyPhoto popups are working fine as well. Are you using any other minify options? For example: HTML minify.July 2, 2014 at 12:22 pm #63990
I’ve done lots of testing and I’ve minified all of the css files above. prettyPhoto seems to be only a problem when viewing the site on Firefox.
The plugin works great in IE, Chrome, Safari on desktops, and on safari tablets.
Yes, I am using HTML & XML Minify:
Enable – Checked
Inline CSS minification – Checked
Inline JS minification – Checked
Line break removal – Checked
My site is very fast as it stands. On GT Metrix, the Google Pagespeed is 99%, Yslow is 98%, Page load time of 0.95s. The page is 807KB.
This exercise for me is about learning how to optimize properly and making sure the sites functions properly. This prettyPhoto issue has been a touch nut for me to crack for a long time.
Any insights you can give would be appreciated.
[http://www.aquariumcarebasics.com/]July 2, 2014 at 1:23 pm #63991
I think I have it working properly now. I unchecked Line break removal in HTML & XML Minify, cleared all the caches and it seems to be working fine.
- You must be logged in to reply to this topic.