Jump to content

Code - How to hide banners on all pages EXCEPT for the main website page?

Recommended Posts

48 minutes ago, Sladey16 said:

Hi,

How do you hide banners on all pages EXCEPT for the main website page?

Thank you!!

What is your site url?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
6 minutes ago, Sladey16 said:

dinosandyoung.squarespace.com

Password: dinosandyoung2021

Use the page unique id

.page-banner-wrapper {
  display: none;
}
#collection-60148b45c73a964fde9cb674 .page-banner-wrapper {
  display: block;
}

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
Just now, Sladey16 said:

Will this look the same on a mobile phone?

hide on both desktop mobile

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
31 minutes ago, Sladey16 said:

I only want banner on front page and CONTACT  page.... the same code?

change

.page-banner-wrapper {
  display: none;
}
#collection-60148b45c73a964fde9cb674 .page-banner-wrapper,
#collection-60149e4dff58f81f27bab4e3 .page-banner-wrapper {
  display: block;
}

Use this tool to check page id

Chrome Web Store - Extensions (google.com)

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 2 weeks later...
On 3/9/2021 at 10:45 AM, Sladey16 said:

dinosandyoung.squarespace.com

Password: dinosandyoung2021

Hi. I see your site overlap on mobile..

You can add this to Design > Custom CSS

/* Mobile home overlap */
@media screen and (max-width:767px) {
div#page-60148b45c73a964fde9cb674 {
    margin-top: 120px;
}
span.sqs-announcement-bar-close {
    display: none;
}
}

image.thumb.png.c287f98f4a531ef0e2cf6f2590c91167.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 month later...
On 5/2/2021 at 10:43 PM, Sladey16 said:

My website still has blue banner? How can I remove/>?

We don't see it here. Can you take a screenshot?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.