diff --git a/scss/post.scss b/scss/post.scss
index f66cdac67e3299c5f258f4a88cce83906bb16ece..6b769cddcb59e345153d3265fd0f0307622b383c 100644
--- a/scss/post.scss
+++ b/scss/post.scss
@@ -320,7 +320,8 @@ body.loginbackgroundimage #page {
 
     /* Remove border of child nodes which should appear as one block. */
     .list-group-item[data-parent-key="mycourses"],
-    .list-group-item[href*="#section-"]:not([href*="#section-0"]) {
+    .list-group-item[href*="#section-"]:not([href*="#section-0"]),
+    .list-group-item[href*="&section="]:not([href*="&section=0"]) {
         border-top: none;
     }
 }