Jump to content

option to add a Button Block to the top of an Events Page.??

Recommended Posts

  • Replies 2
  • Views 389
  • Created
  • Last Reply

Add to Home > Settings > Advanced > Code Injection > Header. Replace beaverhero with your url

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
$(document).ready(function() { 
		$('<a href="https://beaverhero.com" class="sqs-block-button-element--medium sqs-block-button-element t-eventsbutton">Support Us</a>').insertBefore('.eventlist.eventlist--past');
  .t-eventsbutton {
    border: 1px solid black;
    padding: 1em;
    color: black !important;
    display: block;
    text-align: center;
    width: 100px;
    margin: 0 auto;
    margin-bottom: 20px;


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

WOW thank you so much. I was wondering if you could help me put a line separate the button from the events. At the moment the button is not quite a visually please as before. How do I make the button larger and also the font as before. Basically I would like to replicate the exact print screen as above  on my custom page. 


I really appreciate your help btw 

Thank you so much


Link to comment


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.