Hi @MMatheas,
You just want to remove that menu for a single course, and only for students, correct? You'll definitely need to use javascript in an account/subaccount theme to accomplish that selectively.
The following javascript should hide the right column:
document.getElementById('right-side-wrapper').style.display='none'
You can put that statement under an if condition for the specific course like:
if (window.location.href.indexOf("/courses/92995") > -1)
But doing it for just students can become more complicated... Without getting into more scripting and API calls, about the best you can do (as far as I know) is to check if the user is a stduent in *any* course in your instance. You do this like the following:
if (ENV.current_user_roles.indexOf('student') > 0)
You'll also want to call this script only after the document is ready... All together, this would make the script:
var do_global_customizations = function(){
if ((window.location.href.indexOf("/courses/92995") > -1) && (ENV.current_user_roles.indexOf('student') > 0)){
document.getElementById('right-side-wrapper').style.display='none'
}
}
if (document.readyState === "complete" || (document.readyState !== "loading" && !document.documentElement.doScroll)) {
do_global_customizations();
} else {
document.addEventListener("DOMContentLoaded", do_global_customizations);
}
Since this does happen with theme javascript, a Canvas admin would have to agree to his method and insert the code into the theme. There is also a caveat that Instructure could make changes to their code at any time that may require modifications to custom javascript like this, so it's always a bit risky to go this route. Personally, I'd probably just leave the menu there.