TheGoodStudio Posted May 12, 2020 Share Posted May 12, 2020 Site URL: https://www.c2cgg.com/ Password: thegoodpassword We have created a Services folder but trying to link the Folder to /services Any assistance would be very much appreciated. Link to comment
tuanphan Posted May 12, 2020 Share Posted May 12, 2020 You need to use JavaScript to solve this. Which plan do you use? 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
TheGoodStudio Posted May 12, 2020 Author Share Posted May 12, 2020 Hey Tuanphan, "Business" plan. Cheers. Link to comment
derricksrandomviews Posted May 12, 2020 Share Posted May 12, 2020 Why not add services as the first choice in the folder. Linking the title of the folder from the Nav bar, Squarespace removed that option some time ago. They now have a link to that folder as a url from outside the site using the folder's slug. That link goes to the first item in the folder like this folder url: https://myrandomviews.com/lessons Link to comment
TheGoodStudio Posted May 12, 2020 Author Share Posted May 12, 2020 Hey Derrick, because I don't want to have Service and then Service underneath that folder name (Doubling up). Cheers. Link to comment
derricksrandomviews Posted May 13, 2020 Share Posted May 13, 2020 24 minutes ago, TheGoodStudio said: Hey Derrick, because I don't want to have Service and then Service underneath that folder name (Doubling up). Cheers. Make the first link "Consultation" maybe? This comes up all the time and it is a problem, you might be able to get it so clicking the folder takes you to the first item in the folder but to a link not in the folder? Not going to happen in my opinion. Link to comment
tuanphan Posted May 13, 2020 Share Posted May 13, 2020 Add to Home > Settings > Advanced > Code Injection > Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.header-nav-folder-title[href="/services-1"]').click(function() { window.location = "https://beaverhero.com"; }); }); </script> Replace with your 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
david.m Posted May 15, 2020 Share Posted May 15, 2020 On 5/13/2020 at 9:47 AM, tuanphan said: Add to Home > Settings > Advanced > Code Injection > Footer Do you have a solution without JQUERY ? in plain JS <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.header-nav-folder-title[href="/services-1"]').click(function() { window.location = "https://beaverhero.com"; }); }); </script> Replace with your url Link to comment
derricksrandomviews Posted May 15, 2020 Share Posted May 15, 2020 I took another look at your site, and I think the way you set it up your drop down folder is professional and works very well. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.