Missing semicolon after !important causes invalid CSS
Missing semicolon after !important causes invalid CSS was created by keep2000
Posted 2 months 4 weeks ago #861
Hi there,
I noticed that some style-related settings don’t seem to work as expected — for example, when using Level 1, disabling Show Divider has no visible effect.
After checking the source code, I found that in the file
modules/mod_jp_yootheme_menu/tmpl/default.php,
some style definitions are missing a semicolon after the !important declaration. This results in broken inline CSS like:
As you can see, multiple styles are merged together, which causes the CSS to become invalid and not applied by the browser.
Would you be able to fix this?
Thank you very much in advance!
I noticed that some style-related settings don’t seem to work as expected — for example, when using Level 1, disabling Show Divider has no visible effect.
After checking the source code, I found that in the file
modules/mod_jp_yootheme_menu/tmpl/default.php,
some style definitions are missing a semicolon after the !important declaration. This results in broken inline CSS like:
Code:
margin-left:20px !importantborder-bottom: 1px none #ffffff !important;
Would you be able to fix this?
Thank you very much in advance!
by keep2000
Please Log in or Create an account to join the conversation.
- JProStudio
-
Offline
- Admin
-
- Posts: 404
- Thank you received: 65
Replied by JProStudio on topic Missing semicolon after !important causes invalid CSS
Posted 2 months 3 weeks ago #863
We will look into this and updated the package file. Thank you
For urgent help please create a support ticket extensions.joomlapro.com/support/tickets
by JProStudio
Please Log in or Create an account to join the conversation.
- JProStudio
-
Offline
- Admin
-
- Posts: 404
- Thank you received: 65
Replied by JProStudio on topic Missing semicolon after !important causes invalid CSS
Posted 2 months 3 weeks ago #866
We have tested by disable the divider setting to the Level 1 menu item only and found that every thing seems works good. Also unable to trace any break of CSS in the source. Thank you
For urgent help please create a support ticket extensions.joomlapro.com/support/tickets
by JProStudio
Please Log in or Create an account to join the conversation.
Replied by keep2000 on topic Missing semicolon after !important causes invalid CSS
Posted 2 months 3 weeks ago #867This message contains confidential information
Last Edit:2 months 3 weeks ago
by keep2000
Last edit: 2 months 3 weeks ago by keep2000.
Please Log in or Create an account to join the conversation.
- JProStudio
-
Offline
- Admin
-
- Posts: 404
- Thank you received: 65
Replied by JProStudio on topic Missing semicolon after !important causes invalid CSS
Posted 2 months 3 weeks ago #869
We have fixed the divider css setting to the Level 1 menu item with $level2_text_indent and updated the package file now it works well. Thank you
For urgent help please create a support ticket extensions.joomlapro.com/support/tickets
by JProStudio
Please Log in or Create an account to join the conversation.
Replied by keep2000 on topic Missing semicolon after !important causes invalid CSS
Posted 2 months 3 weeks ago #872
Hello,
Are you sure the package was updated? I just re-downloaded it, but I’m still seeing the same issue.
There shouldn’t be any matches for
in the default.php file — only
should be present.
Also, I noticed that the modification date of the default.php file still shows as the afternoon of May 26th.
Could you please double-check?
Thanks!
Are you sure the package was updated? I just re-downloaded it, but I’m still seeing the same issue.
There shouldn’t be any matches for
Code:
!important"
Code:
!important;"
Also, I noticed that the modification date of the default.php file still shows as the afternoon of May 26th.
Could you please double-check?
Thanks!
Last Edit:2 months 3 weeks ago
by keep2000
Last edit: 2 months 3 weeks ago by keep2000.
Please Log in or Create an account to join the conversation.
- JProStudio
-
Offline
- Admin
-
- Posts: 404
- Thank you received: 65
Replied by JProStudio on topic Missing semicolon after !important causes invalid CSS
Posted 2 months 3 weeks ago #873
Kindly check it again with the fresh download!. Thanks
For urgent help please create a support ticket extensions.joomlapro.com/support/tickets
by JProStudio
Please Log in or Create an account to join the conversation.
Replied by keep2000 on topic Missing semicolon after !important causes invalid CSS
Posted 2 months 3 weeks ago #874
Great, thank you very much!
by keep2000
Please Log in or Create an account to join the conversation.
Time to create page: 0.479 seconds