Hannan
January 21, 2025, 4:07pm
1
Question:
How do I change the size of the dropdown menu of the login bar? Need it know how to change it for mobile site as it’s very large currently.
Product:
Wix studio
What are you trying to achieve:
Adjust the size of the dropdown login menu on mobile to be smaller
What have you already tried:
Looking through all the menu options
You can use CSS to manipulate style and design of your page for each resolution.
https://dev.wix.com/docs/velo/api-reference/$w/dropdown/css-classes
You can use → Form Factor | Velo
→ to detect the right display format
You can use → Get Bounding Rect | Velo
→ to get more details about your window-size.
Once you have the width and height, you can start to apply the right CSS-STYLING, accordingly to the size of your window or just by FORM-FACTOR-DETECTION.
Good-Luck!!!