-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
How to override default settings when using "Hamburgers" in multiple place? #63
Comments
Any solutions? Same question! |
Will consider this for a |
This is challenging! As SASS variables are converted into their values on the server, whilst media queries trigger on the client (after the fact). The best solution I can think of (although I'm sure there is a better one out there) is making separate SASS variables for your mobile values and using them in your breakpoint. For example:
@staeff this might help you with your issue |
Assume i'm using "Harmurgers" for mobile menu icon, and for another case as a closing X icon for a popup box.
As mentioned in the customization section of "Hamburgers" here, i can make overriding default settings such as setting the following sass variables:
But in case i use Hamburgers in 2 different places as i mentioned, these sass variables will override settings in all places!
So how to deal with that?
The text was updated successfully, but these errors were encountered: