SW_2020 Posted January 28, 2022 Posted January 28, 2022 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.
conversiontracking Posted January 28, 2022 Posted January 28, 2022 (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 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 Google Chrome – at 01.56.mp4 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 January 29, 2022 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!
SW_2020 Posted January 31, 2022 Author Posted January 31, 2022 Thank you Fenix for the response, I was able to fix it and removed the first code you selected in the footer.
conversiontracking Posted January 31, 2022 Posted January 31, 2022 Cool 🙂 You can mark my reply as a correct one if it helped. And don't hesitate to get in touch if you ever need more help. 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!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment