Jump to content

Save button position fixed


Recommended Posts


sometimes a page can be very very long. Having the save e publish buttons at the beginning and at the end of the page is great... but maybe it would be better if these buttons will be always visibile at right top of the page after scrolling.

Link to comment
Share on other sites

A little hack like this for site/ready.php might be enough for that (only tested on desktop and not perfect when it comes to alignment):

$this->addHookAfter('ProcessPageEdit::execute', function($event) {
	$event->return .= "<script>
		$('#pw-content-head-buttons').css('position', 'fixed');
		$('#pw-content-head-buttons').css('right', '5%');


  • Like 2
Link to comment
Share on other sites

Admin on Steroids has an option where you can map CTRL + S to the save function. That way you don't even have to care about the button's position (but might be a bit overkill if you only need this module for only this feature).

  • Like 4
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

  • Recently Browsing   0 members

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