AndrewMarston Posted March 3, 2020 Share Posted March 3, 2020 Site URL: https://www.andrewmarston.com/design I put a folder titled "Photo" into the my navigation, however the main nav item "Photo" is not clickable. The odd thing is that in the inspector there appears to be an anchor tag in the code pointing to a link that redirects to the correct page. Does anyone know how to fix this? (screenshots attached) URL: https://www.andrewmarston.com/design Thanks! Link to comment
tuanphan Posted March 3, 2020 Share Posted March 3, 2020 Add to Code Injection Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $('.header-nav-folder-title[href="/photo-top"]').click(function() { window.location = "https://beaverhero.com"; }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
WillH Posted March 26, 2020 Share Posted March 26, 2020 Thank you so much for this tuanphan. Can you explain how to do this on multiple navigation tabs? Link to comment
tuanphan Posted March 26, 2020 Share Posted March 26, 2020 56 minutes ago, WillH said: Thank you so much for this tuanphan. Can you explain how to do this on multiple navigation tabs? <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $('.header-nav-folder-title[href="/photo-top"]').click(function() { window.location = "https://beaverhero.com"; }); $('.header-nav-folder-title[href="/photo-top"]').click(function() { window.location = "https://beaverhero.com"; }); $('.header-nav-folder-title[href="/photo-top"]').click(function() { window.location = "https://beaverhero.com"; }); </script> replace /photo-top with other page slugs Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
WillH Posted March 26, 2020 Share Posted March 26, 2020 9 minutes ago, tuanphan said: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $('.header-nav-folder-title[href="/photo-top"]').click(function() { window.location = "https://beaverhero.com"; }); $('.header-nav-folder-title[href="/photo-top"]').click(function() { window.location = "https://beaverhero.com"; }); $('.header-nav-folder-title[href="/photo-top"]').click(function() { window.location = "https://beaverhero.com"; }); </script> replace /photo-top with other page slugs You are my hero! Link to comment
Guest Posted April 8, 2020 Share Posted April 8, 2020 On 3/26/2020 at 9:46 AM, tuanphan said: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $('.header-nav-folder-title[href="/photo-top"]').click(function() { window.location = "https://beaverhero.com"; }); $('.header-nav-folder-title[href="/photo-top"]').click(function() { window.location = "https://beaverhero.com"; }); $('.header-nav-folder-title[href="/photo-top"]').click(function() { window.location = "https://beaverhero.com"; }); </script> replace /photo-top with other page slugs This is EXACTLY what I was looking for. You're amazing. Thanks!! Link to comment
kimberlee Posted April 15, 2020 Share Posted April 15, 2020 On 3/3/2020 at 6:41 AM, tuanphan said: Add to Code Injection Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $('.header-nav-folder-title[href="/photo-top"]').click(function() { window.location = "https://beaverhero.com"; }); </script> This worked GREAT! THANK YOU! ...and I know I may be pushing my luck, but is there anyway to make this work for mobile too? Link to comment
tuanphan Posted April 29, 2020 Share Posted April 29, 2020 On 4/15/2020 at 11:29 PM, kimberlee said: This worked GREAT! THANK YOU! ...and I know I may be pushing my luck, but is there anyway to make this work for mobile too? Can you share link to your site? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
kimberlee Posted May 3, 2020 Share Posted May 3, 2020 Yep. It's www.grandcoevents.com. Thanks! Link to comment
tuanphan Posted May 4, 2020 Share Posted May 4, 2020 15 hours ago, kimberlee said: Yep. It's www.grandcoevents.com. Thanks! edit above code to <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $('.header-nav-folder-title[href="/vendors-1"], .container.header-menu-nav-item [href="/vendors-1"]').click(function() { window.location = "https://beaverhero.com"; }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.