jackieo416 Posted August 13 Share Posted August 13 Circle Member 1 Posted 2 hours ago What code would I need to change the header logo url? I saw an answer from a while back that had the below code, but I believe it would need to be customized to go to my "main" page and I'm unsure where to edit it. <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script>$(document).ready(function () { $(".logo a[href]").attr("href", "http://www.google.com/"); }); </script> I created a landing page to "enter website" and then made it the home page so that it would be the first thing visitors see when going to the website - now my previous homepage with I relabeled "main" will not be the url destination when you click the logo -- I've put this code into the Header under Code Injection in the Website Tools tab and nothing seems to have changed. Any help would be greatly appreciated, thanks! Link to comment
Lesum Posted August 14 Share Posted August 14 @jackieo416 Hi! Can you share your site URL for context? If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
jackieo416 Posted September 4 Author Share Posted September 4 Unfortunately, my client would like me to keep it private until he launches. I was able to successfully customize the footer code to make the logo url link to the new "home" page. However, I ran into the same issue as some other folks here where this code worked on desktop but not mobile. If you have any advice for me without access to the actual website, it would be greatly appreciated! Link to comment
tuanphan Posted September 7 Share Posted September 7 You can create a new trial site with same header layout/footer layout then share url, we can check & help easier 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment