Change the order of buttons

Re: Change the order of buttons

by Raad Al-Rawi -
Number of replies: 1

Hi Julia


You can do this by tweaking the CSS:


#page-course-edit div[role="main"] form > div[data-groupname="buttonar"] div[data-fieldtype="group"] {
    display: flex;
}
#page-course-edit div[role="main"] form > div[data-groupname="buttonar"] div[data-fieldtype="group"] div.form-submit {
    order: 1;
}


This will specifically target the "Save and display" button on the "Edit course settings" page.

Hope that helps.


Raad

~~

Raad Al-Rawi

Moodle Technical Developer/DBA

University of Cambridge, UK