Jump to content

How do I make the announcement bar visible on only one page?

Recommended Posts

Please post the URL for the page on your site where you want the announcement bar to appear.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password is not a security breach. Please read the documentation at the link provided to understand how it works.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 2 weeks later...
On 3/9/2021 at 9:59 AM, Monica2020 said:

How do I make the announcement bar visible on only one page?

Add to Design > Custom CSS

.sqs-announcement-bar-dropzone {
    display: none;
}

Next, add this to Page Header (page where you want announcement bar visible)

<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
  • 9 months later...
On 3/19/2021 at 10:33 PM, tuanphan said:

Add to Design > Custom CSS

.sqs-announcement-bar-dropzone {
    display: none;
}

Next, add this to Page Header (page where you want announcement bar visible)

<style>
  .sqs-announcement-bar-dropzone {
    display: block !important;
}
</style>

 

This was extremely helpful. Do you also happen to have the code where the announcement bar shows on the specific page on mobile? For some reason it's not showing for me...

Link to comment
5 hours ago, herinkprint said:

This was extremely helpful. Do you also happen to have the code where the announcement bar shows on the specific page on mobile? For some reason it's not showing for me...

The code should work. Can you share link to page where you want to show bar on mobile?

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 1/12/2022 at 11:23 AM, herinkprint said:

Slowly learning I have to let a few hours pass before noticing changes on the mobile site (for some strange reason).

I haven't viewed SS sites a lot on mobile but I've never noticed delays when changes are made to a site.

It is possible there is a cache along your mobile viewing pipeline that is holding onto stuff to reduce bandwidth? Could be a content delivery network issue.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 4 months later...
14 minutes ago, Zyl said:

I want it to show on our website but not on a couple of our pages. What code do I use on those 2 pages?

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.