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

Trigger don't work with position:fixed; #13

Closed
DetlefT opened this issue Jun 19, 2017 · 4 comments
Closed

Trigger don't work with position:fixed; #13

DetlefT opened this issue Jun 19, 2017 · 4 comments
Labels

Comments

@DetlefT
Copy link

DetlefT commented Jun 19, 2017

Hi Kamil,

great extension! Thank you for this. It work's fine for me but there is an issue:

I find no solution to set the trigger to position:fixed; (or to position:sticky;). In both cases the trigger will scroll with the other content.
I insert the module at the end of my header after some div's. I set this css (no matter !important is set or not):
.mobile_menu_trigger { position:fixed !important; top:30px; }
The trigger content:
<span><i class="fa fa-bars">[nbsp]</i> Menü</span>

If Mobile_menu ist activ, no other statement position:fixed; will work except your mod cookiebar.

Best regards, Detlef

@qzminski
Copy link
Member

That's very strange. Do you have that website online?

@DetlefT
Copy link
Author

DetlefT commented Jun 19, 2017

Have a look at http://www.test-69754.alfa3044.alfahosting-server.de/

This is a test-account which will be down in ~ 1 week. I try to submit a new address to you if my client has decided for a provider.

@qzminski
Copy link
Member

This is likely caused by the transform CSS rule applied to the wrapper element – see https://stackoverflow.com/a/15256339. I suggest that you disable the off-canvas effect for that case and it should be back to normal. Couldn't find any other solution for that but I am open for the ideas.

@DetlefT
Copy link
Author

DetlefT commented Jun 20, 2017

Right solution! Back-to-top will work again and even position:fixed works fine.
Thank you for quick help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants