Code in Header

More
9 years 5 months ago #42388 by Nic2017
Code in Header was created by Nic2017
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

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

More
9 years 5 months ago #42391 by ced1870
Replied by ced1870 on topic Code in Header
Hi
this comes from the maxmimenu mobile plugin to hide the mobile bar on normal screens
CEd

Joomlack Webmaster and Developer

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

More
9 years 5 months ago #42396 by Nic2017
Replied by Nic2017 on topic Code in Header
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

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

More
9 years 5 months ago #42423 by ced1870
Replied by ced1870 on topic Code in Header
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

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

More
9 years 5 months ago #42449 by Nic2017
Replied by Nic2017 on topic Code in Header
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; ...."

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

More
9 years 5 months ago #42482 by ced1870
Replied by ced1870 on topic Code in Header
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

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

Time to create page: 0.203 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1001 guests and one member online