I can't get the fixed navigation to work... I want to set this on this website (URL in Secure - test site) , only on the start page.
Base Outline - Page Settings - Fixed Header set, but it just doesn't work.
Also I want the colour of the background to change when I get to the next section....
I've been working on this since yesterday and haven't found a solution.
Post your Atom settings... make sure they're targetting #g-navigation
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT
fixed-header simply does not work.
(see screenshots).
What works is if I set in the scss:
#g-navigation.menu-absolute { background: rgba(255, 255, 255, 0.9); position: fixed; }
But then I would need a fix point where I can change the background-color to #g-navigation.
At the moment I'm not getting anywhere...
I don't see the Javascript for the Fixed Header atom loading at all... Your homepage is loading Outline ID #14 -- is the Atom configured on that particular outline?
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT
Hello,
I have to ask again.
Fixed Header works perfectly. (rt-clarity)
But I have no idea how to set it so that when the #g-navigation section scrolls down, it gets smaller.
So not the full size of the navigation section.
via scss?
It is working though, it's scrolling as expected? There is an autohide feature that will hide it when scrolling down, show it when scrolling up. There is no option in the Atom to change the height of the targetted section while it's scrolling, that would require custom dev.
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT
Unfortunately there is no setting in the Atom design that will do what you're after and custom development is beyond the scope of moderator support on these boards.
Headroom.js is documented here. There are various classes it sets for different events that you can target and style as you see fit:
wicky.nillia.ms/headroom.js/
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT