* {-webkit-tap-highlight-color: transparent;}
in Custom Code to disable mobile browser tap highlights.The green highlight on mobile navigation in Webflow usually comes from browser-specific styling for links or active states (especially on iOS or Android browsers).
Mobile browsers sometimes apply a default tap highlight color (most commonly green or blue on Android). To neutralize this:
Go to Page Settings or Project Settings > Custom Code (in the <head>
or <body>
section).
Add inline CSS to override the browser’s tap highlight. Use:
* {-webkit-tap-highlight-color: transparent;}
This disables the green flash on tap for all elements. If you only want to target specific elements (like .nav-link
), adjust accordingly.
To remove the green highlight on mobile nav links: check for a “Current” class applying the color, disable browser tap highlighting with -webkit-tap-highlight-color: transparent;
, and remove any green set in hover or focus states.