Jump to content

Making unscrollable admin header


valan
 Share

Recommended Posts

How to fix admin header (e.g. where menu is) on top of the page, making it unscrollable?

Admin menu is one of most frequently used elements of UI at my site, so original header scrollability is a bit annoying.

It would also be better for notifications behavior as currently it breaks workflow by scrolling to the top as new notification event occurs.

  • Like 1
Link to comment
Share on other sites

Without changing the admin theme code (JS and/or CSS?), I think @Martijn's JS admin module could do the trick. I can't seem to remember its name atm...I'll check then edit this post

Edit: The name is Admin Custom Files 

http://mods.pw/7i

https://processwire.com/talk/topic/7588-admin-custom-files/

Edit 2: Or use the Reno Theme  :P

Edited by kongondo
added links
  • Like 2
Link to comment
Share on other sites

@kongondo, thanks!

I'm not comfortable to inject own js/css into admin code, but looks like I have to.) May be somebody here already has needed js/css code to use with Admin Custom Files.

Reno theme doesn't seem to be stable. See here - https://processwire.com/talk/topic/9102-adminthemereno-disappeared/?hl=adminthemereno - at least it doesn't work in my case (reinstalled it twice w/o success).

Link to comment
Share on other sites

Without much testing: install AdminCustomFiles module, create /site/templates/AdminCustomFiles/ProcessPageEdit.css with:

#masthead {
position: fixed;
height: 2.8em;
width: 100%;
z-index: 1;
}

#breadcrumbs {
padding-top: 4em;
}
  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...