Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

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


Question

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

2 answers to this question

Recommended Posts

  • 0
Posted (edited)

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>
<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');
	});
</script>
<style>
  .t-eventsbutton {
    border: 1px solid black;
    padding: 1em;
    color: black !important;
    display: block;
    text-align: center;
    width: 100px;
    margin: 0 auto;
    margin-bottom: 20px;
}
</style>

 

Edited by tuanphan

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post
  • 0

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
 

2104046205_Screenshot2020-07-07at15_35_37.thumb.png.189675c02768c0e674e8f12186b6fdb0.png

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...