Sabu Posted May 7, 2020 Share Posted May 7, 2020 Hi, I am wanting to make the top navigation item (the folder) selectable and be able to be redirected to its own page, currently it cannot be selected, only the dropdown navigations can be selected. I have multiple folders and dropdown items, I have tried all the codes from various forums and still no luck, I have never used code before so this is very new to me, hopefully you might be able to help me. I am using version 7.1 and the template is Pazari. My website url is: https://sabu-studio.squarespace.com/ The password is:123456789 I am wanting to link furniture-folder to: https://sabu-studio.squarespace.com/furniture and lighting-folder to: https://sabu-studio.squarespace.com/lighting I have tried the following code: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $('.header-nav-folder-title[href="/furniture-folder"]').click(function() { window.location = "https://sabu-studio.squarespace.com/furniture"; }); $('.header-nav-folder-title[href="/lighting-folder"]').click(function() { window.location = "https://sabu-studio.squarespace.com/lighting"; }); </script> Am I doing this correctly? Thanks for your help! Sabu Link to comment
Sarahandsarah Posted September 7, 2021 Share Posted September 7, 2021 I would also like to know this Link to comment
tuanphan Posted September 8, 2021 Share Posted September 8, 2021 On 9/7/2021 at 9:22 AM, Sarahandsarah said: I would also like to know this What is your site url? We can help easier 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
Archived
This topic is now archived and is closed to further replies.