Theme SCSS / CSS jump-to menu / next-activity link

Theme SCSS / CSS jump-to menu / next-activity link

by Chris Fisher -
Number of replies: 0
This is a solution to an issue I have seen older threads on within older versions of moodle, however, no quick fix in newer versions.

I had seen a number of users trying to find a simple work around for removing the jump to menu and next/previous activity from course pages for various reasons.  Upon trying several changes in course/development/theme settings, I was unsuccessful until finding a solution by mending the CSS itself.

For any users attempting to alter CSS styles within their themes go to:
    ---- Site Admin -> Appearance -> Themes -> (Select Active Theme) -> Advanced Tab

The RAW CSS text box allows a user to modify CSS tags and change attributes. Usually, inspecting the source on the current page will show the ID that needs changed and using a #select will update changes to the CSS style.

Removing the jump to menu and also prev/next link ended up working as such (though I'm sure it can be cleaned up):

select#jump-to-activity.custom-select {

  display: none;

}

select#next-activity-link {

    display: none;

}

select#next-activity-link.btn.btn-link {

    display: none;

}

a#next-activity-link.btn.btn-link {

    display: none;

}

select#prev-activity-link {

    display: none;

}

a#prev-activity-link {

    display: none;

}

select#prev-activity-link.btn.btn-link {

    display: none;

}

a#prev-activity-link.btn.btn-link {

    display: none;

}

Average of ratings: Useful (1)