Jump to content

option to add a Line Block underneath the Button Block but above the Events Page.??

Recommended Posts

  • Replies 2
  • Views 344
  • Created
  • Last Reply

This is what i have so far but that isnt with the line block 

 

thank you people !

 

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() { 
        $('<a href="https://runatitshouting.co.uk/donate" class="sqs-block-button-element--medium sqs-block-button-element t-eventsbutton">SUPPORT US</a>').insertBefore('.eventlist.eventlist--past');
    });
</script>
<style>
  .t-eventsbutton {
    border: 2px solid black;
    padding: 1em;
    color: black !important;
    display: block;
    text-align: center;
    width: 150px;
    margin: 0 auto;
    margin-bottom: 20px;
    font-size: 20px
}
</style>

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.