36

I noticed since last night (PST) that the much-maligned fixed/sticky header from 2017 has come back.

enter image description here

There was a setting to control it, but unfortunately my SO settings page doesn't have the checkbox to enable/disable the sticky header either:

enter image description here

9
  • 18
    "There was a setting to control it, but unfortunately my SO settings page doesn't have the checkbox to enable/disable the sticky header either" - Yeah, SE Inc. decided it would be a good idea to get rid of it: We’ve removed the option to disable the fixed top bar, so unfortunately, for the time being, you're SOOL Commented Aug 27, 2021 at 0:42
  • 12
    That linked page is an infuriating read: if they had a pin/unpin button directly on the header then they'd have very, very different stats.
    – Dai
    Commented Aug 27, 2021 at 0:44
  • 14
    "We determined no one clicked on the option was on display in a dark cellar without stairs in a locked filing cabinet" Commented Aug 27, 2021 at 2:26
  • 3
    @Dai I think the post score agrees with you.
    – VLAZ
    Commented Aug 27, 2021 at 4:51
  • 7
    @Dai - It was a infuriating read the two changes ago, at this point, that read is beyond infuriating since at this point it’s falling on deaf ears (feedback on changes like that are completely and intentional being ignored). Commented Aug 27, 2021 at 12:16
  • At this point it is probably smarter to do what you can to not be infuriated rather than hope that the source will change their ways...
    – Gimby
    Commented Aug 27, 2021 at 12:24
  • 3
    @Gimby or... We can actually channel the fury to ensure the "SE makes unilateral changes that removes features used by community members" cry is heard even in the most distant parts of the net :)
    – 0Valt
    Commented Aug 27, 2021 at 12:28
  • 3
    ... I really wonder why SE keeps posting these informational posts as the one on MSE. It's not like they are asking for feedback or anything, it would be best for everyone if everyone stopped pretending. Commented Aug 30, 2021 at 18:17
  • 2
    @FélixAdriyelGagnon-Grenier I would assume it's easier to post an unpopular post and let it fade away due to downvotes than wait for someone to make a post that will be heavily upvoted and thus be far more visible, though, that would also be assuming they're putting way more thought into it than I think they are, ¯\_(ツ)_/¯
    – Kevin B
    Commented Aug 30, 2021 at 18:24

2 Answers 2

10

As you obviously already have uBlock Origin installed, you can add a custom CSS injection rule like this to have the top menu bar unstuck:

superuser.com,serverfault.com,stackoverflow.com,askubuntu.com,mathoverflow.net,stackexchange.com##.js-top-bar:style(position: absolute!important;)

This includes a bunch of domains I found that have SE sites. The stackexchange.com part will also apply this to all subdomains. The !important part is important because the rule doesn't have strong enough specificity to override the already present rules otherwise.

You can add this rule to your list of custom blocking rules in the "My filters" tab of the uBlock Origin settings page.

4
  • idk why the code block was removed, it's back now though.
    – douira
    Commented Sep 1, 2021 at 9:23
  • 2
    As of April 2022, the sticky bar is back and this variation fixed it for me: superuser.com,serverfault.com,stackoverflow.com,askubuntu.com,mathoverflow.net,stackexchange.com##.js-top-bar:style(position: absolute!important;) Commented Apr 4, 2022 at 19:06
  • @MatthiasBraun thanks, I've updated it.
    – douira
    Commented Apr 5, 2022 at 11:35
  • 1
    Yep, very good, works fine with uBO on FF98 (per 2022-04-05), and I use it in combination with stackoverflow.com###review-button > .s-activity-indicator__danger.s-activity-indicator to also remove the annoying Red Dot from the Review Queues in that same Top Bar...
    – chivracq
    Commented Apr 5, 2022 at 13:11
0

You can use a browser extension (add-on) called "Hide Fixed Elements" to turn it on and off.

Or use a custom userscript or custom CSS from here:

4
  • 3
    Isn't that a big of an overkill for .top-bar.js-top-bar{position: absolute;}?
    – Scratte
    Commented Aug 28, 2021 at 14:04
  • 2
    Such a CSS injection could also be implemented by adding a uBlock Origin CSS injecting filter rule if you already have uBO installed.
    – douira
    Commented Aug 28, 2021 at 17:04
  • 3
    wow, I had no idea uBO could even do that, thanks @douira. I shall accept no commentary as to what that implies about my ability to read documentation :D Commented Aug 30, 2021 at 19:35
  • 2
    to your credit, the uBO documentation is very long and I also find it hard to search things in it by googling
    – douira
    Commented Sep 1, 2021 at 9:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .