Code in Header

Code in Header was created by Nic2017

Posted 6 years 10 months ago #42388
Hello,

Could anybody know why there is code:

<style> .mobilebarmaximenuck { display: none; }, ... (see attachement)

in my header?

I want to go back to only using MaxiMenu CK and turned off CK Param and CK Mobile.

Nic
by Nic2017
Attachments:

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

Replied by ced1870 on topic Code in Header

Posted 6 years 10 months ago #42391
Hi
this comes from the maxmimenu mobile plugin to hide the mobile bar on normal screens
CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by Nic2017 on topic Code in Header

Posted 6 years 10 months ago #42396
The problem smees that if you turn off the mobile plugin again this code does not disappear. To keep all the css organized, I am trying to bring it all to my LESS files. Is there a way to keep it away from the header if you turn it off or in maximenuresponsiveck.css if you turn it on?
Thanks, Nic
by Nic2017

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

Replied by ced1870 on topic Code in Header

Posted 6 years 10 months ago #42423
this code is generated by the maximenu mobile plugin, as said :)
I can not remove this css code

now if you want to do more, you should use something like JCH optimize that can catch the css/js and minify them

Joomlack Webmaster and Developer

by ced1870

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

Replied by Nic2017 on topic Code in Header

Posted 6 years 10 months ago #42449
I do understand that the code is generated by the mobile plugin.
But after deleting the mobile plugin (see attachment), the code is still generated.

The code seems to interfere with my other CSS settings "div#maximenuck.maximenuckh ul.maximenuck { text-align: right; ...."
by Nic2017
Attachments:

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

Replied by ced1870 on topic Code in Header

Posted 6 years 9 months ago #42482
there are some codes generated from the module and other ones from the plugin
in the module you can go in the styles options >> use compile css >> set it to YES or COMPILE it you still want to work on the menu
this will load the css into a stylesheet

like said before, if you want to do more, you must use a specific tool to manage that

Joomlack Webmaster and Developer

by ced1870

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

Time to create page: 0.697 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 453 guests and no members online