mdegortari Posted July 25, 2023 Posted July 25, 2023 I am trying to have a secondary logo on the header in the middle, how can i do this with code? Thanks!!
tuanphan Posted July 26, 2023 Posted July 26, 2023 Clickable or non-clickable logo? And what is site url? We can help easier And how about on mobile? Hide it or which position you want to add it? 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!)
mdegortari Posted July 31, 2023 Author Posted July 31, 2023 (edited) clickable link to homepage, same as the logo on the right on mobile it should be gone. only on web. Here is the website linkhttps://plane-nonagon-zfhp.squarespace.com pass: maye Edited August 2, 2023 by mdegortari changed the domain
tuanphan Posted August 3, 2023 Posted August 3, 2023 You can add this code to Settings > Developer Tools > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $('<a href="/" class="second-logo" target="_blank"><img src="https://cdn.pixabay.com/photo/2023/06/10/15/24/insect-8054262_1280.jpg" alt="second logo"/></a>').insertAfter('.header-display-desktop .header-title-nav-wrapper'); }); </script> <style> .second-logo img { width: 50px; } .second-logo { position: absolute; left: 50%; transform: translateX(-50%); } </style> Replace Pixabay with your logo image url 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