Kunena Menu
How to remove INLINE CSS?
11 years 10 months ago #24218
by nikhilyuj
How to remove INLINE CSS? was created by nikhilyuj
Hi,
Is there any way to remove the inline CSS which is generated by maximenuCK?
For e.g.
iv#maximenuck ul.maximenuck li.maximenuck.item101.level1,
div#maximenuck ul.maximenuck2 li.maximenuck.item101.level1{ padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important; }
div#maximenuck ul.maximenuck li.maximenuck.item101.level1 > a.maximenuck span.titreck, div#maximenuck ul.maximenuck li.maximenuck.item101.level1 > span.separator span.titreck,
div#maximenuck ul.maximenuck2 li.maximenuck.item101.level1 > a.maximenuck span.titreck, div#maximenuck li.maximenuck.item101.level1 > span.separator span.titreck { font-weight: normal !important; }
div#maximenuck ul.maximenuck li.maximenuck.item101.level1:hover,
Is there any way to remove the inline CSS which is generated by maximenuCK?
For e.g.
iv#maximenuck ul.maximenuck li.maximenuck.item101.level1,
div#maximenuck ul.maximenuck2 li.maximenuck.item101.level1{ padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important; }
div#maximenuck ul.maximenuck li.maximenuck.item101.level1 > a.maximenuck span.titreck, div#maximenuck ul.maximenuck li.maximenuck.item101.level1 > span.separator span.titreck,
div#maximenuck ul.maximenuck2 li.maximenuck.item101.level1 > a.maximenuck span.titreck, div#maximenuck li.maximenuck.item101.level1 > span.separator span.titreck { font-weight: normal !important; }
div#maximenuck ul.maximenuck li.maximenuck.item101.level1:hover,
Please Log in or Create an account to join the conversation.
11 years 10 months ago #24226
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic How to remove INLINE CSS?
Hi
this is generated by the plugin maximenu params
unpublishing it will remove these lines, but will also remove the styles that you have set in it as these lines are used to render the menu styles
CEd
this is generated by the plugin maximenu params
unpublishing it will remove these lines, but will also remove the styles that you have set in it as these lines are used to render the menu styles
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
11 years 9 months ago #24932
by nikhilyuj
Replied by nikhilyuj on topic How to remove INLINE CSS?
Is there any other way like to generate CSS in one single file i.e. something like maxi.css, which can improve the page speed and save loading time.
If I copy and save that generated inline CSS to CSS file the size of the file is about 170kb.
You can refer source code from both the files,
Copied css - www.yujdesigns.com/maxi.html
Working copy - 206.132.43.189/en/
If I copy and save that generated inline CSS to CSS file the size of the file is about 170kb.
You can refer source code from both the files,
Copied css - www.yujdesigns.com/maxi.html
Working copy - 206.132.43.189/en/
Please Log in or Create an account to join the conversation.
11 years 9 months ago #24938
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic How to remove INLINE CSS?
Hi
go in components >> maximenu params >> migration tool
here you can delete all 0 values that come from a previous version. Then you should no more have unwanted lines in your code
CEd
go in components >> maximenu params >> migration tool
here you can delete all 0 values that come from a previous version. Then you should no more have unwanted lines in your code
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
11 years 9 months ago #24950
by nikhilyuj
Replied by nikhilyuj on topic How to remove INLINE CSS?
Thank you,
This helps me to reduce the file size and code.
Note: It could be more useful if the CSS gets generated into some external file.
Thanks,
Nikhil
This helps me to reduce the file size and code.
Note: It could be more useful if the CSS gets generated into some external file.
Thanks,
Nikhil
Please Log in or Create an account to join the conversation.
11 years 9 months ago #24952
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic How to remove INLINE CSS?
useful for what ? an external css file needs an additional server request
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.193 seconds




