diff --git a/assets/blocks/quiz/style.scss b/assets/blocks/quiz/style.scss
new file mode 100644
index 0000000000..75fb36a177
--- /dev/null
+++ b/assets/blocks/quiz/style.scss
@@ -0,0 +1,3 @@
+.sensei-quiz-action--hidden {
+ display: none;
+}
diff --git a/assets/css/frontend.scss b/assets/css/frontend.scss
index ebbf1dd22b..98ffe11fa8 100644
--- a/assets/css/frontend.scss
+++ b/assets/css/frontend.scss
@@ -403,10 +403,6 @@ a.sensei-certificate-link {
}
}
-.sensei-item-no-display {
- display: none;
-}
-
/**
* Quiz Pagination
*/
diff --git a/includes/class-sensei-quiz.php b/includes/class-sensei-quiz.php
index d5a8daf530..85ade1346f 100755
--- a/includes/class-sensei-quiz.php
+++ b/includes/class-sensei-quiz.php
@@ -103,6 +103,28 @@ public function __construct( $file = __FILE__ ) {
// Create the quiz progress when the student visits the quiz page for the first time.
add_action( 'wp', array( $this, 'maybe_create_quiz_progress' ) );
}
+
+ // Enqueue frontend styles.
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles' ) );
+ }
+
+ /**
+ * Enqueue frontend CSS files for quizzes.
+ *
+ * @internal
+ *
+ * @since $$next-version$$
+ * @return void
+ */
+ public function enqueue_styles() {
+ if (
+ is_admin() ||
+ ! is_singular( 'quiz' )
+ ) {
+ return;
+ }
+
+ Sensei()->assets->enqueue( 'sensei-single-quiz-style', 'blocks/quiz/style.css' );
}
/**
diff --git a/templates/single-quiz/pagination.php b/templates/single-quiz/pagination.php
index ce7c6d8e99..fd8681f774 100644
--- a/templates/single-quiz/pagination.php
+++ b/templates/single-quiz/pagination.php
@@ -92,7 +92,7 @@ class="wp-block-button__link button sensei-stop-double-submission sensei-quiz-pa
-
+