I have used the sticky header option in the past to create a header bar that is actually fixed to the top of the page. You can see an example of that here: https://tinasfabricnook.com/. This header was created before the Pro 6.1.10 update, but the site is now running WP 6.2 and Pro 6.1.10.
I use the following options for that bar:
Pro decided to append a x-bar-fixed class to that header bar, which accomplishes what I was intending. I did not enter any custom CSS or classes for it.
I am now working on a site on my local machine using a fresh install of WP 6.2 and Pro 6.1.10. I cannot get the ‘sticky’ option to behave the same way for any header bar I create. I even instantiated the same template I was using previously. “x-bar-fixed” refuses to be added to the classes for any sticky bar I create.
I tried creating a sticky bar with a trigger offset of 150 with the same options, and hid it initially, to see if it would appear. It does not appear on my local machine on scroll down. Sticky header bars appear to be broken.
I have run it with all plugins disabled and I get the same lack of behavior.
The only way I can get the “x-bar-fixed” behavior to come back is if I manually add that as a class to the header bar in the customize tab. I have no idea how I would get the trigger offset sticky header to work.
Asher
EDIT: Strangely enough, when I added a second bar to the header on my local machine. "x-bar-fixed began appearing again at the end of the first bar’s classes, which is what I wanted.
