Spaces:
Runtime error
Runtime error
Update templates/menu.html
Browse files- templates/menu.html +11 -5
templates/menu.html
CHANGED
|
@@ -127,24 +127,30 @@
|
|
| 127 |
.dropdown-menu .dropdown-item:hover {
|
| 128 |
background-color: #f1f1f1;
|
| 129 |
}
|
| 130 |
-
.fixed-search-container
|
| 131 |
position: fixed;
|
| 132 |
-
top:
|
| 133 |
left: 50%;
|
| 134 |
transform: translateX(-50%);
|
| 135 |
width: 80%;
|
| 136 |
max-width: 600px;
|
| 137 |
-
z-index:
|
| 138 |
background-color: white;
|
| 139 |
padding: 10px;
|
| 140 |
border-radius: 25px;
|
| 141 |
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
|
| 142 |
}
|
| 143 |
|
| 144 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
.container {
|
| 146 |
-
margin-top:
|
| 147 |
}
|
|
|
|
| 148 |
.fixed-top-bar {
|
| 149 |
position: fixed;
|
| 150 |
top: 0;
|
|
|
|
| 127 |
.dropdown-menu .dropdown-item:hover {
|
| 128 |
background-color: #f1f1f1;
|
| 129 |
}
|
| 130 |
+
.fixed-search-container {
|
| 131 |
position: fixed;
|
| 132 |
+
top: 90px; /* Move it slightly lower */
|
| 133 |
left: 50%;
|
| 134 |
transform: translateX(-50%);
|
| 135 |
width: 80%;
|
| 136 |
max-width: 600px;
|
| 137 |
+
z-index: 999; /* Keep it above content */
|
| 138 |
background-color: white;
|
| 139 |
padding: 10px;
|
| 140 |
border-radius: 25px;
|
| 141 |
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
|
| 142 |
}
|
| 143 |
|
| 144 |
+
/* Ensure the category filter dropdown does not overlap */
|
| 145 |
+
form.text-center.mb-4 {
|
| 146 |
+
margin-top: 120px !important; /* Increase spacing below search bar */
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
/* Ensure the container has enough margin so nothing is overlapped */
|
| 150 |
.container {
|
| 151 |
+
margin-top: 180px; /* Adjust spacing based on navbar and search bar */
|
| 152 |
}
|
| 153 |
+
|
| 154 |
.fixed-top-bar {
|
| 155 |
position: fixed;
|
| 156 |
top: 0;
|