nagasurendra commited on
Commit
fd1f6e4
·
verified ·
1 Parent(s): 53f7efc

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. 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: 80px;
133
  left: 50%;
134
  transform: translateX(-50%);
135
  width: 80%;
136
  max-width: 600px;
137
- z-index: 1000;
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
- /* Add some margin to the menu container so it doesn't overlap with the search bar */
 
 
 
 
 
145
  .container {
146
- margin-top: 70px;
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;