Jump to content

How do I add an image / logo into the mobile menu?

Recommended Posts

  • Replies 3
  • Views 940
  • Created
  • Last Reply
  • 2 weeks later...
Posted
On 10/18/2021 at 2:58 AM, ShootiezProductions said:

A logo at the top of the page that's clickable back to the home menu and also just some images to the bottom possibly to make the page look more atheistically pleasing. I use Business plan!

Add to Last Line in Code INjection > Footer

<script>
$(document).ready(function() { 
		$('<a href="/" class="m-logo"><img src="https://cdn.pixabay.com/photo/2021/09/21/22/10/sunset-6645036__340.jpg"/></a>').insertBefore('.Mobile-overlay-menu-main>nav');
	});
</script>
<style>
  a.m-logo img {
    width: 100px;
    margin: 0 auto;
    display: block;
    margin-bottom: 10px;
}
  .Mobile-overlay-menu {
    margin-top: 50px;
}
</style>

 

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.