charlineca Posted July 26, 2023 Share Posted July 26, 2023 Hi, can anyone help with the following problem? The navigation folder automatically links to the first page inside the folder. However, it is an unnecessary duplication to have my folder name and first page go to the same place. I would like my folder to go to the /about page and hide the actual About page link inside the folder. Is there any CSS that can be used to hide the first item in the folder? I tried the following code for desktop and mobile but they don't seem to work.. .subnav :nth-child(1){display: none !important;} #mobileNavWrapper .subnav :nth-child(1){display: none !important;} Link to comment
tuanphan Posted July 27, 2023 Share Posted July 27, 2023 Hi, What is site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
charlineca Posted July 27, 2023 Author Share Posted July 27, 2023 1 hour ago, tuanphan said: Hi, What is site url? https://carnation-kazoo-blx3.squarespace.com/ password is website. Link to comment
tuanphan Posted July 28, 2023 Share Posted July 28, 2023 I see you solved with this CSS code? .header-nav .header-nav-item--folder .header-nav-folder-title[href="/about-us"]~.header-nav-folder-content .header-nav-folder-item:first-child { display: none; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
charlineca Posted August 2, 2023 Author Share Posted August 2, 2023 On 7/28/2023 at 2:40 PM, tuanphan said: I see you solved with this CSS code? .header-nav .header-nav-item--folder .header-nav-folder-title[href="/about-us"]~.header-nav-folder-content .header-nav-folder-item:first-child { display: none; } Thank you! For some reason now the folder does not link to my about page anymore either? I still want it linked, I just wanted to hide the link. Link to comment
tuanphan Posted August 3, 2023 Share Posted August 3, 2023 On 7/27/2023 at 12:00 PM, charlineca said: https://carnation-kazoo-blx3.squarespace.com/ password is website. Password is incorrect now Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
charlineca Posted August 5, 2023 Author Share Posted August 5, 2023 On 8/3/2023 at 2:48 PM, tuanphan said: Password is incorrect now Please check https://alumniserv.squarespace.com/, the password is alumni Link to comment
tuanphan Posted August 7, 2023 Share Posted August 7, 2023 On 8/2/2023 at 9:45 AM, charlineca said: Thank you! For some reason now the folder does not link to my about page anymore either? I still want it linked, I just wanted to hide the link. I see it is now linked here. Or you mean dropdown disappear? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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