Rene_Knabl Posted December 15, 2021 Share Posted December 15, 2021 Site URL: https://www.reneknabl.com/ Hello guys, I have issues with my custom CSS code for the Navigation Folder Link. My Version is Squarespace 7.0 Brine and I got a Business Plan. In the Navigation Menu I want to link the Dropdown Folder "Work" which now has the URL /portfolio-dropdown to my starting page, which has the URL /portfolio I tried several methods, then with this one it worked. But only the first time loading the page. When I tried to click on "Work" again or refresh the page, it linked to /portfolio-dropdown again. What am I doing wrong? Many thanks in advance Code in the footer: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $(document).ready(function() { $('.Header-nav-folder-title[href="/portfolio-dropdown"]').attr("href", "/portfolio"); }); </script> Link to comment
tuanphan Posted December 17, 2021 Share Posted December 17, 2021 Hi, Access Design > Site Styles > Disable Ajax Loading. 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
Guest Posted December 22, 2021 Share Posted December 22, 2021 Thanks!! was looking for it too 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