Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added css classes for contao 4 compatibility #15

Closed
wants to merge 1 commit into from

Conversation

LinkingYou
Copy link

Contao changed the markup in version 4 for the navigation:
"The navigation menus are now using <strong> instead of <span> to highlight the active menu item."

This fix adds to all classes with span an additional css class tag for <span>.

@Jaaaan Jaaaan mentioned this pull request Jul 4, 2017
@fritzmg
Copy link
Collaborator

fritzmg commented Jul 4, 2017

Instead of changing the CSS of mmenu, you could also replace all <strong> tags with <span> via JavaScript (that's what I did in one installation).

@fritzmg
Copy link
Collaborator

fritzmg commented Jul 5, 2017

But I think updating the CSS is fine, since there won't be any update to mmenu due to licensing anyway anymore, right @dklemmt ?

@fritzmg
Copy link
Collaborator

fritzmg commented Jul 27, 2017

According to #20 just changing the CSS is not enough. mmenu needs to recognize the <strong> tags.

@fritzmg
Copy link
Collaborator

fritzmg commented Dec 3, 2017

@fritzmg fritzmg closed this Dec 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants