travelI'm on Holidays until the 21 august.

The questions posted during this period will receive no answer, so please be patient and wait before posting in the forum. Thank you

New registrations are suspended during this period

Je suis en vacances jusqu'au 21 aout.

Je ne répondrai à aucune question postée durant cette période. Merci d'attendre mon retour. Merci

Les inscriptions sur le site sont suspendues pendant cette période

 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Code in Header

Code in Header 22 May 2017 12:01 #42388

  • Nic2017
  • Nic2017's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
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
Attachments:

Please Log in to join the conversation.

Code in Header 22 May 2017 13:11 #42391

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 17658
  • Karma: 391
  • Thank you received: 2263
Hi
this comes from the maxmimenu mobile plugin to hide the mobile bar on normal screens
CEd

Please Log in to join the conversation.

Joomlack Webmaster and Developer

Code in Header 22 May 2017 15:57 #42396

  • Nic2017
  • Nic2017's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
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 to join the conversation.

Code in Header 23 May 2017 08:53 #42423

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 17658
  • Karma: 391
  • Thank you received: 2263
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

Please Log in to join the conversation.

Joomlack Webmaster and Developer

Code in Header 24 May 2017 10:13 #42449

  • Nic2017
  • Nic2017's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
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; ...."
Attachments:

Please Log in to join the conversation.

Code in Header 29 May 2017 19:44 #42482

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 17658
  • Karma: 391
  • Thank you received: 2263
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

Please Log in to join the conversation.

Joomlack Webmaster and Developer
  • Page:
  • 1
Time to create page: 0.308 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 334 guests and no members online