govindaom Posted December 13, 2015 Share Posted December 13, 2015 Hi, Does anyone know the custom CSS code to make my navigation fixed in Brine? Thanks! Link to comment
ARES1570048134 Posted December 22, 2015 Share Posted December 22, 2015 I am looking for the same thing. Wanna make the navigation bar not scrolling up at all.Please help. Link to comment
ARES1570048134 Posted December 22, 2015 Share Posted December 22, 2015 govindaom, I just added this code into Custom CSS section for my site (Brine Template) and it works. .Header-inner { z-index: 4; width: 100%; } .Header{ z-index: 5; position: fixed; width: 100%; } Try it out and let me know if there is any bugs or misbehaving. Good Luck Link to comment
Guest Posted January 14, 2016 Share Posted January 14, 2016 Hi there, I'm also using Brine and tried this CSS for a fixed nav, and it worked great! ... on the home page only. On the other pages the nav background and page links all turned white. So they are all there, but invisible for practical use. Any thoughts on why this might be?Thanks!! Link to comment
ARES1570048134 Posted January 14, 2016 Share Posted January 14, 2016 site link and show me your code. Link to comment
sssupers Posted February 7, 2016 Share Posted February 7, 2016 Works nicely on desktop nav. Have you left mobile nav in free scrolling mode? Hi, I'm sssupers. Link to comment
mvpottery Posted March 19, 2016 Share Posted March 19, 2016 @ARES - Thanks so much for the code above. It works for the most part, but the SECONDARY NAVIGATION now disappears. Oddly not on all pages, but on most. And the pages it does show up on, however, it is in the wrong place, appearing all the way at top of screen. Any suggestions for how to resolve this? I can send links if needs be. Thanks a lot Link to comment
tarekgemayel Posted May 9, 2016 Share Posted May 9, 2016 Hello ARES, Amazing solution! Thanks. Any idea how to apply it now for Mobile? It works great on Tablet and PC. ThanksT. Link to comment
bradyheyen1570047727 Posted July 13, 2016 Share Posted July 13, 2016 The "stickiness" works really well! But it just threw the rest of the page up underneath the header (the top row of journals shouldn't be cut in half). Any idea on how to fix this? Thanks! Link to comment
milc Posted November 19, 2016 Share Posted November 19, 2016 any way to make this so that it get stuck to the very top of the page? as another user mentioned, as @bradyhayen mentioned the sticky header has a gap above it where page content can be seen as one scrolls down Link to comment
Guest Posted February 18, 2017 Share Posted February 18, 2017 it worked for sonora too, thanks! Link to comment
werickson Posted February 7, 2018 Share Posted February 7, 2018 .Header-inner { z-index: 9999; width: 100%; } .Header{ z-index: 9998; position: fixed; width: 100%; } @media screen and (max-width: 3000px) { .Index-page--has-image .Index-page-content { margin-top:104px !important; } } @media screen and (max-width: 500px) { .Index-page--has-image .Index-page-content { margin-top:0px !important; } } Link to comment
werickson Posted February 7, 2018 Share Posted February 7, 2018 .Header-inner { z-index: 9999; width: 100%; } .Header{ z-index: 9998; position: fixed; width: 100%; } @media screen and (max-width: 3000px) { .Index-page--has-image .Index-page-content { margin-top:104px !important; } } @media screen and (max-width: 500px) { .Index-page--has-image .Index-page-content { margin-top:0px !important; } } Link to comment
Guest Posted February 27, 2018 Share Posted February 27, 2018 This code worked on my site, but is there a way to hide the secondary nav and have it appear after scrolling past a point? Link to comment
IanC_Design Posted August 31, 2018 Share Posted August 31, 2018 This works great on my index page, but I'm having the same issue on the store page where the sticky nav covers part of the top row of items--is there something I can add to the code to disable the sticky nav on the store page (while keeping it for the other pages)? Link to comment
brandon Posted January 9, 2019 Share Posted January 9, 2019 This can be quite complicated when one considers all the combinations of desktop vs. mobile, announcement bar or not, closing of the announcement bar, changes to screen-width/orientation, and more. This question has come up in this forum repeatedly and, in order solve all the various permutations, I created Fixit, a plugin for fixed headers and navigation in Brine (and the Brine/Wright family of templates). You can see the full answer to the related question here. Hope it helps! If a response helped you out, send a 'Like' 👍 (bottom-right) and/or 'Upvote' (top-left) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.