Menu position fixed
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Fri Feb 13, 2015 1:24 pm
- Reply with quote
- Report this post
Hey guys!
I added this code to custom.css:
Now the menu stays at the top, but it went from center to right align.
The next issue is, that all modules in mainbody_top and mainbody_bottom are layered above the menu, so that the menu disappears when skrolling down.
Here's the link to my page: http://www.paganfest.eu
Any suggestions how I can get the menu to stay on top CENTERED and how to avoid the other moduley layer above the menu?
Thank you very much for your support!!!
I added this code to custom.css:
- Code: Select all
#gkPageTop {
background: none repeat 0% 0% rgba(0, 0, 0, 0.3);
margin: -40px;
margin-left: auto;
margin-right: auto;
position: fixed;
}
Now the menu stays at the top, but it went from center to right align.
The next issue is, that all modules in mainbody_top and mainbody_bottom are layered above the menu, so that the menu disappears when skrolling down.
Here's the link to my page: http://www.paganfest.eu
Any suggestions how I can get the menu to stay on top CENTERED and how to avoid the other moduley layer above the menu?
Thank you very much for your support!!!
-
- Expert Boarder
- GK User
- Fri Feb 13, 2015 1:34 pm
- Reply with quote
- Report this post
- Code: Select all
#gkHeaderTop { margin-top:0; padding-top:50px;}
#gkPageTop {position:fixed; width:100%;}
Hi, try this
-
- Platinum Boarder
- GK User
- Fri Feb 13, 2015 1:40 pm
- Reply with quote
- Report this post
That worked like a charm!
Thank you very much for this fast solution!
Thank you very much for this fast solution!
-
- Expert Boarder
- GK User
- Fri Feb 13, 2015 8:28 pm
- Reply with quote
- Report this post
I suggest to use darker BGcolor:
background: rgba(0, 0, 0, 0.5);
or even
background: rgba(0, 0, 0, 0.7);
background: rgba(0, 0, 0, 0.5);
or even
background: rgba(0, 0, 0, 0.7);
-
- Platinum Boarder
4 posts
• Page 1 of 1