lburto Posted February 16, 2023 Share Posted February 16, 2023 How do I change the URL that my logo in my in my header links to? There was an older post originating in 2015 that had some custom code to do this by injecting into the header section under Settings>Advanced, but it no longer seems to work in 7.1 version. I'm not a coder but tried the code below and realize that older version of jquery is out of date...can someone suggest new code that will do the job (trying to link to blog.naturaliststudies.com)? ---------------------------- <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script>$(document).ready(function () { $(".logo a[href]").attr("href", "https://naturaliststudies.com/"); }); </script> ---------------------------- thanks Link to comment
tuanphan Posted February 21, 2023 Share Posted February 21, 2023 Hi, Your class name is incorrect. + jQuery version if out of date. Can you share link to your site? We can give code 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