Jump to content

Adding a description under store page title on every page

Recommended Posts

  • Replies 5
  • Views 305
  • Created
  • Last Reply

Top Posters In This Topic

Add to Settings > Advanced > Code Injection > Footer

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://d1j8mu9lowy9zf.cloudfront.net/twcsl/0.1d19/twcsl.js"></script>

<script>

  $( ( ) => {
  
    /*
    
      created by @creedon Squarespace Forum
      
      */
      
    if ( twcsl.storePage.urlSlug != '/shop' ) return; // bail if not main page
    
    $( 'body' ).addClass ( 't-shop' );
    
    } );
    
  </script>
<style>
  body.t-shop [data-section-id="644468c1e017e55d5bd40176"] {
    visibility: hidden;
}
</style>

 

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

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.