diff --git a/CHANGES.md b/CHANGES.md
index 0c251cbdc00b30f19bcaf13433d8e54c4dd327ff..a9c350c6f20b57f77d1f81ce36c0343eb7f6722b 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -6,6 +6,7 @@ Changes
 
 ### Unreleased
 
+* 2019-11-08 - Added special CSS styles for plugin mod_attendance.
 * 2019-10-28 - Changed the link in the README.md to get to the correct Font Awesome version.
 * 2019-10-28 - Adjusted login.mustache template due to upstream changes in theme Boost.
 * 2019-10-28 - Adjusted columns2.mustache template due to upstream changes in theme Boost.
diff --git a/lib.php b/lib.php
index 22c3031d58f968b1c4fdd0d0d4b1cb1b0ebb43a9..0e1b1a85873f3a2d3f357c3275f8294750a3bdd5 100644
--- a/lib.php
+++ b/lib.php
@@ -103,7 +103,8 @@ function theme_boost_campus_get_pre_scss($theme) {
         'helptextmodal' => ['helptextmodal'],
         'breakpoint' => ['breakpoint'],
         'blockcolumnwidth' => ['blockcolumnwidth'],
-        'blockcolumnwidthdashboard' => ['blockcolumnwidthdashboard']
+        'blockcolumnwidthdashboard' => ['blockcolumnwidthdashboard'],
+        'addablockposition' => ['addablockposition']
         // MODIFICATION END.
     ];
 
diff --git a/scss/post.scss b/scss/post.scss
index 6b769cddcb59e345153d3265fd0f0307622b383c..9e7b14e03a409a99a94c094b0896f705a3725f8b 100644
--- a/scss/post.scss
+++ b/scss/post.scss
@@ -1173,7 +1173,7 @@ a[href^="mailto"]::before {
 
 
 /*------------------------------------
-  Special: Local Plugins
+  Special: Additional Plugins
   -------------------------------------*/
 
 /* Special styles for plugin local_boostnavigation. */
@@ -1185,3 +1185,16 @@ a[href^="mailto"]::before {
         border-top: none;
     }
 }
+/* Special styles for plugin mod_attendance to fix problems with positioning of the table headers in editing mode when
+   the add a block widget is placed in the blocks column. */
+@if variable-exists(addablockposition) {
+    @if $addablockposition == 'positionblockregion' {
+        #page-mod-attendance-report .attendancereporttable .headcol {
+            left: 20px;
+        }
+        #page-mod-attendance-report.has-region-side-pre:not(.empty-region-side-pre) .attendancereporttable .headcol {
+            left: 20px;
+            width: 300px;
+        }
+    }
+}