Hello Community!
I was wondering if anyone has any idea how to create a top menu page like this?
The problem is that wix menu puts all your pages on the same menu and I want to divide it into
3 - logo - 3 just like the image, and I can´t link text to work as a “menu” button, any suggestions?
Thanks!
1 Like
-
Add a strip to the header
-
Add your logo in the middle and the 6 buttons connected to each page.
(You won’t have a regular menu but your own)
-
add functions that change the color of the current page button.
For example suppose your button is called #wixCode and your page adress is wix.com/code
import wixLocation from 'wix-location';
// ...
let url = wixLocation.url;
if { (url === "wix.com/code") $w("#wixCode").disable; }
You can disable the button or change its HTML properties.
Worked like a charm! Thanks, mate! I owe you a beer! 