From daed7ea58f2e664cdf70b4c80e7023adcfdd4f8e Mon Sep 17 00:00:00 2001 From: Imran Hossain Date: Wed, 4 Sep 2024 12:51:31 +0600 Subject: [PATCH 01/11] Add general class to hide any element --- assets/css/frontend.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/css/frontend.scss b/assets/css/frontend.scss index 98ffe11fa8..ebbf1dd22b 100644 --- a/assets/css/frontend.scss +++ b/assets/css/frontend.scss @@ -403,6 +403,10 @@ a.sensei-certificate-link { } } +.sensei-item-no-display { + display: none; +} + /** * Quiz Pagination */ From 8313e89c7fbffde734f794d93e768f90b6f24139 Mon Sep 17 00:00:00 2001 From: Imran Hossain Date: Wed, 4 Sep 2024 12:52:27 +0600 Subject: [PATCH 02/11] Render the quiz complete button in hidded state when applicable --- templates/single-quiz/pagination.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/single-quiz/pagination.php b/templates/single-quiz/pagination.php index d1c67f81fd..ce7c6d8e99 100644 --- a/templates/single-quiz/pagination.php +++ b/templates/single-quiz/pagination.php @@ -90,8 +90,9 @@ class="wp-block-button__link button sensei-stop-double-submission sensei-quiz-pa - -
+ + +
-
+
-
+
-
+