Jump to content

Middle of header

Recommended Posts

  • Replies 6
  • Views 400
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

8 hours ago, faythemojo said:

I believe business. I don't have any commerce going through the website

Add to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() { 
		$('<img class="header-badge" src="https://cdn.pixabay.com/photo/2020/12/18/13/05/christmas-5841992__340.jpg" alt="chamber-of-commerce"/>').insertBefore('.header-nav>div');
	});
	</script>
<style>
  .header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
  img.header-badge {
    width: 100px;
}
</style>

Replace pixbay image with new 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!)

Link to comment

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.