Skip to content

Instantly share code, notes, and snippets.

@duplaja
Last active August 23, 2020 01:00
Show Gist options
  • Save duplaja/c384ed7b11158c36be0756db1bed098e to your computer and use it in GitHub Desktop.
Save duplaja/c384ed7b11158c36be0756db1bed098e to your computer and use it in GitHub Desktop.
SHS Schoology CSS Styles (use with Stylebot)
/*Force Sticky Header*/
div#header{
position: sticky!important;
top: 0;
z-index: 100;
}
/*Hide Overdue Assignments Section on Home*/
div#overdue-submissions{
display:none!important;
}
/*Hide Courses / Groups in Dropdowns*/
div[class="_1tpub Kluyr"] {
display:none;
}
/*Enlarge and move My Courses / My Groups Links*/
a[class="_3ghFm"] {
position: absolute;
left: 200px;
font-size:2em;
}
/*Hide Semester 2 Classes on Home*/
li[data-key=".$2604478399"],
li[data-key=".$2604476289"],
li[data-key=".$2604476252"] {
display:none;
}
/*Hide these other courses on Home*/
li[data-key=".$2798407637"], /*Hide My Training Course*/
li[data-key=".$2596419937"], /*Hide Steve M Practice*/
li[data-key=".$2595923172"], /*Hide Woodard Master Instructor*/
li[data-key=".$2642383017"] /*Hide Innovation Schools*/
{
display:none;
}
@duplaja
Copy link
Author

duplaja commented Aug 23, 2020

To find the "data-key" to hide, use Chrome's inspector. Right click > Inspect Element > look for the data-key attribute, and copy it, from courses you want to hide on the home page.

@duplaja
Copy link
Author

duplaja commented Aug 23, 2020

@duplaja
Copy link
Author

duplaja commented Aug 23, 2020

Use the "Code" option (bottom middle of extension dropdown) to paste / edit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment