Jump to content

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

Recommended Posts

  • Replies 15
  • Created
  • Last Reply

Top Posters In This Topic

30 minutes ago, tuanphan said:

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>

 

 

Link to comment
15 hours ago, tuanphan said:

 Add to Home > Design > Custom CSS


.eventlist.eventlist--past {
    border-top: 1px solid black;
    padding-top: 20px;
}

 

thank you so much! I am so grateful!

one last thing.

Is there anyway to change the font to the font used in the original block buttons? 

 

Link to comment
3 hours ago, RunatitSHOUTING said:

thank you so much! I am so grateful!

one last thing.

Is there anyway to change the font to the font used in the original block buttons? 

 

edit style code

<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;
    font-family: monospace !important;
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
8 hours ago, tuanphan said:

edit style code


<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;
    font-family: monospace !important;
}
</style>

 

thank you so much ! 

 

that is brilliant one last thing there is a nice space under the button but before the line in my custom made page. Is there anyway to achieve this ?

That would be fantastic! 

Thank you 

Charlie

Screenshot 2020-07-09 at 08.15.40.png

Link to comment
7 hours ago, RunatitSHOUTING said:

thank you so much ! 

 

that is brilliant one last thing there is a nice space under the button but before the line in my custom made page. Is there anyway to achieve this ?

That would be fantastic! 

Thank you 

Charlie

You mean increase spacing between button -line, line - events?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
10 hours ago, RunatitSHOUTING said:

Are you able to help me?

Add to Home > Design > Custom CSS

.eventlist.eventlist--past {
    padding-top: 50px;
    margin-top: 50px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
22 minutes ago, RunatitSHOUTING said:

Thank you can I donate to you for your help ?

Charlie

 

 

23 minutes ago, RunatitSHOUTING said:

Thank you can I donate to you for your help ?

Charlie

 

I sent a message.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

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

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