I have a Drupal 9 website with the default Drupla Olivero theme. When the navigation switches to mobile menu, I want the main menu to be unfolded. I need pure JS code. Drupal 9 no longer supports jQuery.
Now I want to show a shadow below the navigation bar, when it is in mobile mode. I want the shadow to appear only when the user scrolls down the page. If down 1 pixel, the shadow should appear.
On Drupal 9, I have the Olivero theme. When the navigation switches to mobile mode, you have to go to the + button opposite the menu to display the sub-menu. It's not intuitive, because the user has to perform an additional action. I would like to unfold the main menu when the navigation switches to mobile mode.
I have a Drupal 9 website and the Geolocation Field module.
I created a view to show the nodes. My node type contains a "Geolocation" field.
I added to the view a "Filtering criteria" with "Content: Geolocation - Proximity (exposed)".
How do I sort view results? I want nodes to be displayed by creation date by default. I want if the user enters an address in the exposed filter, the nodes are sorted by proximity (nearest to farthest).