Plugin Support
Alex
(@fellan91)
Hi! Thanks for the report.
The files you see in PageSpeed (“render‑blocking requests”) are the Fancybox vendor CSS (jquery.fancybox.min.css, ~3 KB) and our small wrapper CSS (popup-fancybox.css, ~1 KB). They are loaded only when the lightbox is enabled:
- When a Visual Portfolio block/shortcode uses On click / Items click action = Popup Gallery, and/or
- When Visual Portfolio → Settings → Popup Gallery → “Lightbox for WordPress Images” is enabled (this loads lightbox assets site‑wide for native WP images/galleries).
Because these are CSS files, PageSpeed will list them as render‑blocking by design, but they’re very small. If you see ~800 ms “duration” for a few KB CSS file, that’s usually server/hosting latency (TTFB) rather than Fancybox itself.
What you can do:
- If you don’t need the lightbox on that page, disable it:
– In the portfolio/block settings change On click to something other than Popup Gallery;
– Or turn off “Lightbox for WordPress Images” in Visual Portfolio → Settings → Popup Gallery.
- If you do need the lightbox, focus on caching/TTFB improvements (page cache, CDN like Cloudflare, compression, etc.). You can also use a performance plugin’s LiteSpeed Cache, Autoptimize feature; delaying the lightbox CSS is possible but may cause the popup to appear unstyled on first open.
Regards,
Alex