Jump to content

Add link above individual blog post titles

Recommended Posts

  • Replies 3
  • Views 524
  • Created
  • Last Reply
Posted
On 8/19/2021 at 4:41 AM, TNUCHJ said:

Site URL: https://www.truenorthfleet.com/owner-ops-only/equipment/how-to-buy-a-used-semi-truck

Hi, I am trying to add a link above every individual blog post title which links back to the home page.  

I tried following these instructions below, but it's not working. What am I doing wrong? Thanks!

 

Hi,

This is possible. We solved some similar case.

You want to add this button for all posts or specific posts?

Which plan do/will you use? Each plan will have a different solution.

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!)

  • 2 weeks later...
Posted
On 9/2/2021 at 1:37 AM, TNUCHJ said:

Hi tuanphan, 

I'd like to add this link to all posts. We are on the Business plan.  Thank you for your help!

Add to Last Line in Code Injection > Footer

<script>
   jQuery(document).ready(function($) { 
   $('<section id="back-to" class="Index-page"><div class="sqs-block-button button-block Index-page-content"><div class="sqs-block-button-container--center"><a href="/" class="sqs-block-button-element--small sqs-block-button-element">Back to Homepage</a></div></div></section>').insertBefore(".blog-item-top-wrapper");
 }); 

</script>

 

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!)

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.