Jump to content

Announcement Bar not visable

Recommended Posts

Posted

Site URL: https://www.sanderswingo.com

I activated the Announcement Bar and have tried several CSS code sample from the forum and I can't get it to work. Can someone take a look and let me know what i'm missing? I've tried to add it to just one page adding code to Custom CSS and to page header, adding space to the header.

  • Replies 3
  • Views 457
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted (edited)

You've added a <style> tag  above Google Tag Manager in the Code Injection -> Footer which hides the announcement bar. You should ask the developers who made the site why that is as that code doesn't seem to do anything. It's for hiding sections that are already hidden – except the announcement bar which is actually hidden by that code. 

Here's the problematic part highlighted

125575339_GoogleChromeat01_50.jpg.37dfef43eeeddca619f5feeb9fb718f8.jpg

 

A quick fix (however tbh this code is fixing mess by adding more mess). Goes to Design -> CUSTOM CSS:

html body .Site .sqs-announcement-bar-custom-location {
    display: block !important;
}

Demo

Also Google Tag Manager should probably be moved to Code Injection –> Header 

p.s. Let me know if you ever need to hire a SQSP pro to fix (or avoid) stuff like this 🙂

-Fenix

Edited by codeandtonic

Freelance Squarespace developer making plugins like Full-Width Blocks, Hover effects for grid gallery and the Darkmode plugin. I know Squarespace inside out and I'm able to solve pretty much any Squarespace code problem.

Get in touch here!

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.