Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

How to prevent automatic styles from loading in head (Joomla 5.3. MM CK 1.6.9)

More
1 year 5 months ago #74511 by Creationell
We have updatet the extensions to the version Mobile Menu CK Light Version 1.6.9

Could be one of us changed something in the settings, but now in head is some css loading, I guess from automatic styles: 

/* Mobile Menu CK - www.joomlack.fr */
/* Automatic styles */

.mobilemenuck-bar {display:none;position:relative;left:0;top:0;right:0;z-index:100;}
.mobilemenuck-bar-title {display: block;}
... etc

Could you please guide us and tell where in the settings can we switch the loading of dieses automatic styles off? On the old Joomla 3.9 website it wasn't there. :) Thanks a lot for your great plugins and help :)

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

More
1 year 5 months ago #74512 by ced1870
Hi
these styles are loaded since version 1.0.0 :)
please give me some details about the problem, because the styles are loaded to make the menu work. This is not a problem
but if you have posted here, then you may have a problem I guess
CEd

Joomlack Webmaster and Developer

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

More
1 year 5 months ago #74514 by Creationell
Yes I checked again and you are completely right is also there on the old page ( www.sofw.com/ )

but there the automatic styles doesn't override our css changes and mobile menu looks as intended. After update, that is unfortunately still in my ddev docker installation this automatic styles css overrides my css.

The blocks of code are looking different. The old page doesn't have blocks like this:

[data-id="mobilemenuck-407"].mobilemenuck

and these selectors override my css for styling of mobile menu, I can put my lokal website to the dev website online and give you access if you think it is needed :)
Thank you for your help :)

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

More
1 year 5 months ago #74517 by ced1870
ok then you just have to update your custom css with a heavier selector.
if you had #selector_id, you can make a search and replace in your css code to replace it with [data-id="mobilemenuck-407"].mobilemenuck

if you don't manage to do it, then please put your website online so that I can guide you

Joomlack Webmaster and Developer
The following user(s) said Thank You: Creationell

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

More
1 year 5 months ago - 1 year 5 months ago #74519 by Creationell
Thank you I can override the css that is loaded automatically, I was hoping I could find some way not to do this to save my time =) Have a nice weekend =) You can close the topic, the problem is solved =)
Last edit: 1 year 5 months ago by Creationell. Reason: Marking the problem as solved

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

Time to create page: 0.204 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 480 guests and no members online