Jump to content

Disable Announcement Bar On Single Page

Recommended Posts

Hi @BOwens,

As @tuanphan mentioned the code is specific to each template family. If you happen to be on a Brine family template, you can add this code in that particular page's Page Settings > Advanced > Page Header Code Injection to remove the announcement bar. If you are on a different template, please post a link to your site so someone can help you out. 

<style> 
 /* remove announcement bar */ 
 .sqs-announcement-bar-custom-location {
 display: none !important;
 }
 </style>

 

christyprice.com  🇺🇸 Austin, TX US 

 Get my 100+ item Client Process Checklist for $17.
📔 Flourish Journal for Creative Entrepreneurs - 365 days of prompts
🎥 Watch Circle Live: Hello Income (feat. Christy Price and Jeremy Schwartz)
🎬 Watch It's Not Hard to Say Goodbye: Crafting Client Offboarding from Circle Day 2023

Link to comment
  • 1 year later...

@iJizzy1 are you using Squarespace 7.1? Try adding this to Custom CSS:

body:not(.collection-type-products) .sqs-announcement-bar-dropzone {
  display:none;
} 
Edited by christyprice

christyprice.com  🇺🇸 Austin, TX US 

 Get my 100+ item Client Process Checklist for $17.
📔 Flourish Journal for Creative Entrepreneurs - 365 days of prompts
🎥 Watch Circle Live: Hello Income (feat. Christy Price and Jeremy Schwartz)
🎬 Watch It's Not Hard to Say Goodbye: Crafting Client Offboarding from Circle Day 2023

Link to comment
On 11/14/2021 at 9:53 AM, lauraplad said:

Hi @christyprice,

I am trying to do the same thing as @iJizzy1, which is only have the announcement bar visible in the shop portion of my website.

However, I am using Version 7.0 and the Wells family (Wells template).

Is there a Custom CSS code available for this situation too?

Can you share link to shop page on your site? We can help easier

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
On 11/18/2021 at 7:22 AM, lauraplad said:

Yes, here's my shop page: https://www.lauraplad.com/personal-shop

I'd like to have an announcement banner on the top saying that I offer free US shipping. My website doubles as my portfolio, so I'd like this banner to only be visible on my shop page(s).

Add to Design > Custom CSS

body.collection-type-products:before {
    content: "Free US order shipping";
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 10px;
    font-size: 30px;
}

 

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.