Jump to content

Button Next to Burger Icon in Mobile

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Add to Settings > Advanced > code Injection > Footer

<style>
  a.Mobile-bar-search:after {
    content: "Button X";
    color: white;
    border: 1px solid white;
    padding: 5px;
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('a.Mobile-bar-search').attr('href','https://beaverhero.com');
});
</script>

Replace beaverhero with your new url

image.thumb.png.97c8c5c4382e6d1864854da3623f0424.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!)

Link to comment

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.