Remove unused CSS
-
Hi, i have a really simple menu and sub menu. No other stuff.
My menu is like this https://i.imgur.com/daHZ5Np.jpg
The CSS file generated by Max mega menu is really big and there are some things that i don’t use, such as these:
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-columns-3-of-11 {width:27.27273%;}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-columns-5-of-11 {width:45.45455%;}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-columns-6-of-11 {width:54.54545%;}
I haven’t columns in my menu, so why the CSS file is so big and has these things? How can i remove CSS code that i don’t use? Thanks ??
- The topic ‘Remove unused CSS’ is closed to new replies.