Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » [Plugin: NextGEN Gallery] GTmetrix reports ineffecienct design

  • I was just passing my website through GTmetrix, and along with a lot of comments on the theme I use, I received the following on NGG.

    Its probably all nitpicking, but I figured I’d share the comments anyway.

    Cheers, Trin

    http://traving.dk/wp-content/plugins/nextgen-gallery/css/nggallery.css?ver=1.0.0 has 3 very inefficient rules, 5 inefficient rules, and 6 potentially inefficient uses of :hover out of 58 total rules.
    Very inefficient rules (good to fix on any page):
    .ngg-slideshow *    Universal key with descendant selector
    .ngg-galleryoverview div.pic img    Tag key with 2 descendant selectors and Class overly qualified with tag
    .ngg-gallery-list li.selected a    Tag key with 2 descendant selectors and Class overly qualified with tag
    Inefficient rules (good to fix on interactive pages):
    .ngg-galleryoverview ul li:before    Tag key with 2 descendant selectors
    .ngg-gallery-list li a    Tag key with 2 descendant selectors
    .ngg-gallery-list li img    Tag key with 2 descendant selectors
    li.ngg-next a    Tag key with descendant selector and Class overly qualified with tag
    li.ngg-prev a    Tag key with descendant selector and Class overly qualified with tag
    Rules that use the :hover pseudo-selector on non-anchor elements. This can cause performance problems in Internet Explorer versions 7 and 8 when a strict doctype is used.
    .ngg-thumbnail img:hover
    .ngg-gallery-thumbnail img:hover
    .ngg-navigation span.page-numbers:hover
    .ngg-navigation span.next:hover
    .ngg-navigation span.prev:hover
    .ngg-related-gallery img:hover
    http://traving.dk/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.css?ver=1.3.4 has 4 very inefficient rules, 0 inefficient rules, and 0 potentially inefficient uses of :hover out of 14 total rules.
    Very inefficient rules (good to fix on any page):
    #shDisplay div#shTitle a    Tag key with 2 descendant selectors and ID overly qualified with tag
    #shDisplay div#shTitle a:hover    Tag key with 2 descendant selectors and ID overly qualified with tag
    #shShutter *    Universal key with descendant selector
    #shDisplay *    Universal key with descendant selector

    http://wordpress.org/extend/plugins/nextgen-gallery/

  • The topic ‘[Plugin: NextGEN Gallery] GTmetrix reports ineffecienct design’ is closed to new replies.