miketerranova Posted April 4 Share Posted April 4 Hi all, first time here on the forum, but long-term SQSP user. For the redesign of https://www.visualspectrum.ch/ I would like to hide the top menu item called "Galerien" from the homepage, forcing the visitor to scroll down and access the different pages via the images. But on all other pages I would like that dropdown menu item to show, to give the visitor the option to quickly access another gallery, rather than having to go via the homepage. How can i do this? Thanks a lot for your help Link to comment
justinjamesclack Posted April 4 Share Posted April 4 35 minutes ago, miketerranova said: Hi all, first time here on the forum, but long-term SQSP user. For the redesign of https://www.visualspectrum.ch/ I would like to hide the top menu item called "Galerien" from the homepage, forcing the visitor to scroll down and access the different pages via the images. But on all other pages I would like that dropdown menu item to show, to give the visitor the option to quickly access another gallery, rather than having to go via the homepage. How can i do this? Thanks a lot for your help Hi Mike, You can use the following code; .header-nav .header-nav-item--folder { visibility: hidden !important; } Link to comment
miketerranova Posted April 4 Author Share Posted April 4 (edited) 19 minutes ago, justinjamesclack said: Hi Mike, You can use the following code; .header-nav .header-nav-item--folder { visibility: hidden !important; } Hi @justinjamesclack, many thanks. Is that all I need to inject or do I have to add the name of the dropdown menu item somewhere to define what I want to hide? To be clear, I just want to hide this one item, the other menu item (called About/Contact) should stay visible. Cheers Edited April 4 by miketerranova Link to comment
Solution justinjamesclack Posted April 4 Solution Share Posted April 4 (edited) 11 minutes ago, miketerranova said: Hi @justinjamesclack, many thanks. Is that all I need to inject or do I have to add the name of the dropdown menu item somewhere to define what I want to hide? To be clear, I just want to hide this one item, the other menu item (called About/Contact) should stay visible. Cheers Hi @miketerranova, If you had multiple dropdown menu's then yes you would have to target the specific dropdown menu. So depending on where you would like to hide the dropdown menu, is where you should inject the code, using the page settings and the header code injection. However, if you want to hide the dropdown menu across the whole site, add the code to the custom css window; If you want to just inject this code on the home page, open up the page settings for the home page, then navigate to advanced, and then in the header code injection add the code between <style></style> tags, like this; <style> .header-nav .header-nav-item--folder { visibility: hidden !important; } </style> Edited April 4 by justinjamesclack Link to comment
miketerranova Posted April 4 Author Share Posted April 4 @justinjamesclack fantastic, thanks a million! Link to comment
justinjamesclack Posted April 4 Share Posted April 4 (edited) 19 minutes ago, miketerranova said: @justinjamesclack fantastic, thanks a million! No problem Edited April 4 by justinjamesclack Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment