When sending traffic to a WebFlow site using a URL with a query string, for example Google Analytics Tracking URL, the CURRENT state of navigation is not recognized. For example, lets say a navigation link for CURRENT state has a background color change. This would work as expected for a url (example) http://www.someurl.com, but the CURRENT (page) state is not recognized for the url http://www.someurl.com/?anyquerystringhere
Hello @bhinson
Thanks for catching that. Let me talk to my team to see if we can address this quickly.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
Hello @bhinson,
Sorry for the delayed response. There currently isn’t a way for querystrings to work with the “current” class. But, there may be a workaround using jQuery and custom code.
The code could recognize the name of the page, then apply a the “w–current” class to the appropriate nav link.
Would you like me to go further with the code?
I’ll be standing by for your response!
Cheers,
Nelson
Would love to see your ideas Nelson