• Thank you for the plugin, would it be possible to remove some optimization of the code so I can remove the warnings and errors from https://www.dareboost.com/ regarding the simple social icon plugin?

    The !important declaration is used 19 times
    If you abuse of this declaration, you should consider a review of your CSS code. We tolerate 10 occurrences of the !important declaration before penalizing your score.

    12 selectors are superfluous
    It’s often inefficient to bring too much preciseness in CSS selectors. For example, in the following rule:

    body div .myClass {}
    The body element provides no details to select the desired tags. So you should prefer the following selector:

    div .myClass {}
    In the same way, you do not need to specify a

      selector if you specify a

    • behind.

      Here are listed the elements considered as potentially redundant: ul li, ol li, table tr, table th, body.

      The following files declar some useless selectors:
      #simple-social-icons-3 ul li a (line 1, col 1)
      #simple-social-icons-3 ul li a:hover (line 1, col 1)
      #simple-social-icons-3 ul li a:focus (line 1, col 1)
      #simple-social-icons-3 ul li a:hover (line 1, col 240)
      #simple-social-icons-3 ul li a:focus (line 1, col 240)
      #simple-social-icons-3 ul li a:focus (line 1, col 401)
      #simple-social-icons-4 ul li a (line 1, col 476)
      #simple-social-icons-4 ul li a:hover (line 1, col 476)
      and 4 others

      the line numbers could be wrong as using cache and minify plugins.

      Many thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Optimize code from importent declerations and selectors are superfluous’ is closed to new replies.