Title: Remove unnecessary styles &amp; scripts
Last modified: August 30, 2016

---

# Remove unnecessary styles & scripts

 *  Resolved [apsolut](https://wordpress.org/support/users/apsolut/)
 * (@apsolut)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/remove-unnecessary-styles-scripts/)
 * If users dont want to use lightbox and check only direct link for images, magnific
   popup is still loaded JS and CSS files.
 * [https://wordpress.org/plugins/final-tiles-grid-gallery-lite/](https://wordpress.org/plugins/final-tiles-grid-gallery-lite/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [apsolut](https://wordpress.org/support/users/apsolut/)
 * (@apsolut)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/remove-unnecessary-styles-scripts/#post-6579983)
 * font-awesome.css is loaded just because of 4 social icons ?
 *  [SomniumLucidus](https://wordpress.org/support/users/somniumlucidus/)
 * (@somniumlucidus)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/remove-unnecessary-styles-scripts/#post-6580185)
 * If I check “Direct link to image” and then click on a gallery image, I get a 
   blank page with the original image aligned at the top left of the screen, as 
   expected. You might have a popup plugin installed which loads by default.
 * Font Awesome is loaded because of said social icons, but also in order to provide
   a optional “caption icon” (see the options section named «Captions»).
 *  Thread Starter [apsolut](https://wordpress.org/support/users/apsolut/)
 * (@apsolut)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/remove-unnecessary-styles-scripts/#post-6580187)
 * Maybe its fixed, didnt test it, like i said – there is no lightbox when you click
   on images (when you select direct link do image), but when you look at source
   code, magnific popup js and css is still enqueued (even if its not in use).
 *  [SomniumLucidus](https://wordpress.org/support/users/somniumlucidus/)
 * (@somniumlucidus)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/remove-unnecessary-styles-scripts/#post-6580188)
 * Ah, now I get it, sorry.
 * By the way, the “caption icon” option is there, but doesn’t seem to work.
 *  [Diego](https://wordpress.org/support/users/greentreelabs/)
 * (@greentreelabs)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/remove-unnecessary-styles-scripts/#post-6580191)
 * Hi,
 * as SomniumLucidus said, FontAwesome is used also to add an optional image inside
   the caption. And you’re right, the social icon didn’t work until now because 
   it’s shown only with “Caption full height” enabled, which was available only 
   for the pro version, so I unlocked it and now you can use icons and full height
   captions.
 * > If I check “Direct link to image” and then click on a gallery image, I get 
   > a blank page with the original image aligned at the top left of the screen,
   > as expected. You might have a popup plugin installed which loads by default.
 * Exactly. That option is used when you want to use external lightboxes.
 * > magnific popup is still loaded JS and CSS files.
 * Fixed. You’ll see all new fixes with the new update, I guess in few hours.
 *  [SomniumLucidus](https://wordpress.org/support/users/somniumlucidus/)
 * (@somniumlucidus)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/remove-unnecessary-styles-scripts/#post-6580193)
 * Thanks a lot! =)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Remove unnecessary styles & scripts’ is closed to new replies.

 * ![](https://ps.w.org/final-tiles-grid-gallery-lite/assets/icon.svg?rev=3184352)
 * [Image Photo Gallery Final Tiles Grid](https://wordpress.org/plugins/final-tiles-grid-gallery-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/final-tiles-grid-gallery-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/final-tiles-grid-gallery-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/final-tiles-grid-gallery-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/final-tiles-grid-gallery-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/final-tiles-grid-gallery-lite/reviews/)

## Tags

 * [magnific](https://wordpress.org/support/topic-tag/magnific/)

 * 6 replies
 * 3 participants
 * Last reply from: [SomniumLucidus](https://wordpress.org/support/users/somniumlucidus/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/remove-unnecessary-styles-scripts/#post-6580193)
 * Status: resolved