Jump to content

secondary Logo on header

Recommended Posts

  • Replies 3
  • Views 659
  • Created
  • Last Reply

Top Posters In This Topic

Posted

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

image.thumb.png.d5eb6dc65c0afe51659872c2369232f6.png

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!)

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.