• I get a score of F from gtmetrix

    Here’s a few examples of many:

    Very inefficient rules (good to fix on any page):

    .header_right span.searchfor small – Tag key with 2 descendant selectors and Class overly qualified with tag

    #menu-main ul.sub-menu li ul – Tag key with 3 descendant selectors and Class overly qualified with tag

    .post-navigation a em – Tag key with 2 descendant selectors

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If there are only 3 instances of inefficient CSS selectors, you really don’t need to be worrying about it. As this is specifically a CSS issue, consider posting this on a CSS forum.

    Thread Starter calik1d

    (@calik1d)

    Oh sorry but I only added 3 examples. There’s 189 very inefficient rules.

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

The topic ‘Use efficient CSS selectors’ is closed to new replies.