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 Blog Page.??


RunatitSHOUTING

Question

Site URL: https://runatitshouting.co.uk/podcasts

I have managed to put a block button above  my events page www.runatitshouting.co.uk/podcasts

I need to do the same thing for the blog page https://runatitshouting.co.uk/podcasts-blog 

Are you able to help me? Thank you so much! CODE below of the block button above events page.
 

<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
}.eventlist.eventlist--past {
    border-top: 1px solid black;
    padding-top: 20px
}
</style>
<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-family: monospace !important;
}
  .eventlist.eventlist--past {
    padding-top: 50px;
    margin-top: 50px;
}

</style>

Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

 Add to Blog Page Header

<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('div.blog-list');
    });
</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>
<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-family: monospace !important;
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

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
  • 0
On 1/20/2021 at 3:13 PM, tuanphan said:

 Add to Blog Page Header


<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('div.blog-list');
    });
</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>
<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-family: monospace !important;
}
</style>

 

Can you help me get a Boarder Line under the button as seen on the www.runatitshouting.co.uk/podcasts page.

Thank you so much I really appreciate the help!

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