Keyword

K2.css is highly inefficient

  • Steven Trooster
  • Steven Trooster's Avatar Topic Author
  • Offline
  • Premium Member
More
8 years 2 months ago - 8 years 2 months ago #161205 by Steven Trooster
K2.css is highly inefficient was created by Steven Trooster
I've been looking into the K2.css file (in components/com_k2/css/) and I've noticed the stylesheet file is really very inefficient. It contains 294 empty style declarations like, mare than 1/3 of the styles:

span.userItemEditLink {}
span.userItemEditLink a {}
span.userItemEditLink a:hover {}

Why are there so much empty and useless lines of code?
Last edit: 8 years 2 months ago by Steven Trooster.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 2 months ago #161229 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2.css is highly inefficient
Because its purpose is to provide a scaffold for users who want to further enhance the styling.

You can always override the stylesheet and remove the blocks you do not wish to use.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum