paigeao Posted September 7, 2021 Share Posted September 7, 2021 Site URL: https://paigeowen.ca I want to direct my cover page logo to another page on my website, instead of having to create a button or action. I've read a ton of forums and no custom code is working. I'm using the wells template. I want the cover page logo: https://www.paigeowen.ca/welcome to link to https://www.paigeowen.ca/home Right now I don't have the cover page set to home because I can't get it to link so it's just a page. bonus if I can get the website logo to link to home as well instead of the cover page. Thanks! Link to comment
tuanphan Posted September 11, 2021 Share Posted September 11, 2021 Hi, You mean the logo above social icons? Add to Welcome Page Header <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function() { $('img').click(function() { var link = $(this).text(), href = "/home"; window.location.href=href; }); }); </script> <style> img:hover { cursor: pointer; } </style> 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
paigeao Posted September 12, 2021 Author Share Posted September 12, 2021 Amazing! That worked. Thank you so much 🙂 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.