Jump to content

Announcement Banners - single page only

Recommended Posts

  • Replies 4
  • Views 1k
  • Created
  • Last Reply
13 hours ago, GeorgiaBeeston said:

Site URL: https://www.commun.space/

Hi, 

Does anyone know a way to add an announcement bar to a single page of a site instead of the entire site?

 

You can turn on announcement bar and use custom css to hide it on all page and grab the page id of the actual page to show it

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • 3 months later...
13 minutes ago, BrettGleason said:

@bangank36Thanks! do you know the CSS code is? I cant' seem to find one that works for the Horizon theme.

You should me your current site url

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

You mean this template? https://horizon-demo.squarespace.com/

You can add this code to Home > Design > Custom CSS

/* Hide announcement bar entire site */
.sqs-announcement-bar-dropzone {
    display: none;
}

Then edit page where you want to show announcement bar > Add Code Block > Paste this code

<style>
  .sqs-announcement-bar-dropzone {
    display: block !important;
}
</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

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.