charlineca Posted February 15 Posted February 15 Hi, I have an "archive" page on one of my websites, which has a password to get in. But the logo on the page is not clickable - on my regular pages, the logo opens a menu (custom Will Myers mega menu plugin), which I would also like to have that way for my password page.. so that people can get back to the site after viewing the page. Is there any way to achieve this? My page is https://shorturl.at/ABUXY (shortened URL), password is zuerich.
tuanphan Posted February 17 Posted February 17 (edited) Add this code to Website Tools > Code Injection > LOCK PAGE <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function() { $(".sqs-slice-group.group-top img").click(function() { var link = $(this).text(), href = "https://google.com"; window.location.href=href; }); }); </script> <style> .sqs-slice-group.group-top img { cursor: pointer; } </style> Replace GG with new url Edited February 17 by tuanphan 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment