What this code does is to check if there's a child element under the dropdown with current state ('.w--current' class added by webflow), and apply the same class to the parent dropdown element.
We start by adding this short code to the Project's custom code section, so this will work globally on any page in the project.. We can also add this manually to every page we have a sub level dropdown menu.
var hasActiveLink = $(this).find('.w--current').length > 0;
Pass input fields parameters and add them to the destination URL.
A Before / After effect for photos, without any code. Only Webflow's interaction.
A fixed background image that is revealed by mouse hover all over the section