Tagged: x
-
AuthorPosts
-
December 7, 2016 at 3:21 pm #1285118
Hello X!
I’m drawing very near on completion of this pizza delivery website built on X and Cornerstone π It works like no other and is almost ready to launch and showcase on the X Theme facebook group. I hope you like it!! The clients love it!
I need a hand with some CSS if I can. I am using a fixed top navbar but as you can see when in the screenshot scrolling down the page the Navbar gets hidden behind the cart element I’ve implemented into the top. Could you provide me with a fix so as the fixed top navbar stops at the transparent cart element allowing users to select without having to scroll to the top of the page again?
Thanks in advance for your support π
J
December 7, 2016 at 3:23 pm #1285119This reply has been marked as private.December 7, 2016 at 3:26 pm #1285121This reply has been marked as private.December 7, 2016 at 10:10 pm #1285573Hi There,
Thanks for writing! You can add this under Custom > CSS in the Customizer.
#wppizza-mini-cart.wppizza-mini-cart-static {z-index: -1;}
Cool design bye the way.
Cheers!
December 8, 2016 at 6:18 am #1285953This reply has been marked as private.December 8, 2016 at 7:47 am #1286035Hi Jay,
Kindly replace the code provided with this.
#wppizza-mini-cart.wppizza-mini-cart-static { top: 0; position: fixed; z-index: 9999; } body .x-navbar.x-navbar-fixed-top { top:38px !important; z-index: 9999; }
Hope that helps.
December 11, 2016 at 2:10 pm #1289150Thanks so much that worked perfectly!
J
December 11, 2016 at 6:20 pm #1289312Youβre welcome!
Thanks for letting us know that it has worked for you. -
AuthorPosts