valan Posted March 15, 2016 Share Posted March 15, 2016 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. 1 Link to comment Share on other sites More sharing options...
kongondo Posted March 15, 2016 Share Posted March 15, 2016 (edited) 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 Edited March 15, 2016 by kongondo added links 2 Link to comment Share on other sites More sharing options...
valan Posted March 15, 2016 Author Share Posted March 15, 2016 @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 More sharing options...
matjazp Posted March 15, 2016 Share Posted March 15, 2016 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; } 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now