steven.li Posted March 15, 2021 Share Posted March 15, 2021 Hi Squarespace community, Is there a custom css code whereby it is possible to move the announcement bar which is normally located at the top of the screen to just underneath the navigation bar? (Navigation bar at the top of the screen > followed by announcement bar > main content) Thank you for any help provided. Beyondspace 1 Link to comment
Beyondspace Posted March 20, 2021 Share Posted March 20, 2021 On 3/15/2021 at 2:12 PM, steven.li said: Hi Squarespace community, Is there a custom css code whereby it is possible to move the announcement bar which is normally located at the top of the screen to just underneath the navigation bar? (Navigation bar at the top of the screen > followed by announcement bar > main content) Thank you for any help provided. What template version you are on? It would help to share your site url BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🚀 Learn how to rank new pages on Google in 48 hours! 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
MorganYoungblood Posted May 19, 2021 Share Posted May 19, 2021 I'm interested in this as well. I'm on 7.1. thehomethatroams.com Link to comment
tuanphan Posted May 19, 2021 Share Posted May 19, 2021 9 hours ago, MorganYoungblood said: I'm interested in this as well. I'm on 7.1. thehomethatroams.com Can you enable announcement bar? We can check easier 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
MorganYoungblood Posted May 19, 2021 Share Posted May 19, 2021 @tuanphan Thanks! The announcement bar is enabled now. Link to comment
tuanphan Posted May 21, 2021 Share Posted May 21, 2021 On 5/20/2021 at 6:44 AM, MorganYoungblood said: @tuanphan Thanks! The announcement bar is enabled now. Add to Design > Custom CSS /* header-announcement bar */ header#header { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: reverse; -ms-flex-direction: column-reverse; flex-direction: column-reverse; } SShepherd 1 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
MorganYoungblood Posted May 21, 2021 Share Posted May 21, 2021 @tuanphan Works like a charm! Thank you very much 🙂 Link to comment
SShepherd Posted September 15, 2021 Share Posted September 15, 2021 Thank you @tuanphan! One issue I am running into - pushing the announcement bar under blocks links in the folder drop down. For example, there are two pages under "Find Us" on my site: Missoula Food Truck & Florence Food Truck Park https://rootsandbitters-2.squarespace.com/ Password: bitters I can take them out of the folder but wondered if anyone had any ideas? Link to comment
tuanphan Posted September 16, 2021 Share Posted September 16, 2021 14 hours ago, SShepherd said: Thank you @tuanphan! One issue I am running into - pushing the announcement bar under blocks links in the folder drop down. For example, there are two pages under "Find Us" on my site: Missoula Food Truck & Florence Food Truck Park https://rootsandbitters-2.squarespace.com/ Password: bitters I can take them out of the folder but wondered if anyone had any ideas? Can you enable dropdown? We can check easier If your site is live, you can duplicate site & do there 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
MariaFY Posted April 28 Share Posted April 28 @tuanphan I set the header to fixed (7.1) but this causes the announcement bar to be fixed as well. Is there any way, the announcement bar scrolls while the header navigation stays fixed? Link to comment
tuanphan Posted April 29 Share Posted April 29 On 4/28/2024 at 7:40 AM, MariaFY said: @tuanphan I set the header to fixed (7.1) but this causes the announcement bar to be fixed as well. Is there any way, the announcement bar scrolls while the header navigation stays fixed? If you share site url, we can check problem easier. 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
carlaolson Posted May 4 Share Posted May 4 Hi @tuanphan, I've used your code for moving the announcement below the header (thanks!), but like above, the dropdown folder pages are now positioned behind the bar. Is there a fix for this? https://kb-balancepointpublishing.squarespace.com p/w/: YAYBOOKS Thank you! Link to comment
tuanphan Posted May 6 Share Posted May 6 On 5/5/2024 at 4:52 AM, carlaolson said: Hi @tuanphan, I've used your code for moving the announcement below the header (thanks!), but like above, the dropdown folder pages are now positioned behind the bar. Is there a fix for this? https://kb-balancepointpublishing.squarespace.com p/w/: YAYBOOKS Thank you! You can use this code to Website > Website Tools > Custom CSS. div.header-announcement-bar-wrapper { z-index: 12345678987654321 !important; } carlaolson 1 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment