Archived topic
Sticky Menu (or Anything!)
12 replies · Started by Franz on May 6, 2015
Hey Tom,
I use Sticky Menu (or Anything!).
On my landingpage I would like to disabel the Primary Navigation.
But the Navigation showes up left on the header.
Do you have a solution?
Ah, the plugin is overwriting the CSS hiding the navigation.
Try adding this CSS:
.page-id-898 .main-navigation {
display: none !important;
}
Still not working. I used custom css.
Do you have another idea?
Hmm, the CSS is there, but not being read.
This usually means there's a syntax error in the CSS above it.
Can you try moving the above CSS to the top of the file and see if it works?
It's working, great. Tank you very much.
How can I find the mistake?
Paste your CSS in here and validate: https://jigsaw.w3.org/css-validator/#validate_by_input
28 mistakes! Thank you, you have the best support, I've ever seen!
What about this "warnings"?
Warnungen (8)
URI : TextArea
210 Die Eigenschaft -webkit-border-radius ist eine unbekannte Erweiterung des Herstellers.
211 Die Eigenschaft -moz-border-radius ist eine unbekannte Erweiterung des Herstellers.
220 Die Eigenschaft -webkit-box-shadow ist eine unbekannte Erweiterung des Herstellers.
221 Die Eigenschaft -moz-box-shadow ist eine unbekannte Erweiterung des Herstellers.
224 Die Eigenschaft -webkit-gradient(linear,left bottom,left top,color-stop(0,#b30000),color-stop(1,#b30000)) ist eine unbekannte Erweiterung des Herstellers.
225 Die Eigenschaft -ms-linear-gradient(bottom,#F3C459,#FFD86B) ist eine unbekannte Erweiterung des Herstellers.
226 Die Eigenschaft -moz-linear-gradient(center bottom,#F3C459 0%,#FFD86B 100%) ist eine unbekannte Erweiterung des Herstellers.
227 Die Eigenschaft -o-linear-gradient(#FFD86B,#F3C459) ist eine unbekannte Erweiterung des Herstellers.
Don't worry about those - they're using CSS3 which isn't technically valid yet (it will be one day).
Happy to help! :)
Thank you, I think that's it for today. :-)
Hello Franz,
Hello Tom,
how did you make the menu sticky? Is it a special plugin?
Best wishes
Daniel
You have a few options!
1. http://generatepress.com/forums/topic/keep-menus-visable-with-scroll/#post-54453
2. A user on this forum (Jean Paiva) created this tutorial: http://jeanpaiva.com/blog/generatepress-sticky-menu/
Hopefully one of the above helps :)
Yes, I used mystickymenu and that works. thx again!
Awesome :)
