{% for banner in banners %}
@@ -15,10 +14,10 @@
{% for banner in banners %}
-
-
+
+
-
+
+
+
{% endif %}
diff --git a/static/css/custom.css b/static/css/custom.css
index f2bf94d..5889869 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -82,18 +82,22 @@ body {
/* Carousel Adjustments - Minimalist */
.carousel-item {
- transition: transform 1.2s ease-in-out; /* Slightly slower for elegance */
+ transition: transform 1.2s ease-in-out, opacity 1.2s ease-in-out !important;
}
-/* Fix for captions in RTL if needed, but B5 RTL usually handles it */
-[dir="rtl"] .carousel-caption {
+/* Ensure active slide is visible */
+.carousel-item.active {
+ display: block !important;
+ opacity: 1 !important;
+}
+
+/* RTL Support for Carousel */
+[dir="rtl"] .carousel-item {
text-align: right;
- right: 5%;
- left: auto;
}
-.carousel-caption {
- z-index: 10;
+[dir="rtl"] .carousel-caption {
+ right: auto;
}
footer {
diff --git a/staticfiles/css/custom.css b/staticfiles/css/custom.css
index f2bf94d..5889869 100644
--- a/staticfiles/css/custom.css
+++ b/staticfiles/css/custom.css
@@ -82,18 +82,22 @@ body {
/* Carousel Adjustments - Minimalist */
.carousel-item {
- transition: transform 1.2s ease-in-out; /* Slightly slower for elegance */
+ transition: transform 1.2s ease-in-out, opacity 1.2s ease-in-out !important;
}
-/* Fix for captions in RTL if needed, but B5 RTL usually handles it */
-[dir="rtl"] .carousel-caption {
+/* Ensure active slide is visible */
+.carousel-item.active {
+ display: block !important;
+ opacity: 1 !important;
+}
+
+/* RTL Support for Carousel */
+[dir="rtl"] .carousel-item {
text-align: right;
- right: 5%;
- left: auto;
}
-.carousel-caption {
- z-index: 10;
+[dir="rtl"] .carousel-caption {
+ right: auto;
}
footer {
{{ banner.display_title }}
{{ banner.display_subtitle }}
{% if banner.link %} @@ -49,6 +48,26 @@ {% endif %}