MavisChen Posted December 15, 2022 Share Posted December 15, 2022 Hi Experts, Here is the code I've added in the CSS for the sticky announcement bar with a sticky nav (image attached). .Header { position: fixed; z-index: 9999; width: 100%; top: 35px; } .Content-outer { margin-top: 50px; } .sqs-announcement-bar-dropzone { top: 0; position: fixed; left: 0; right: 0; z-index: 999; } span.sqs-announcement-bar-close { display: none; } .tweak-mobile-bar-top-fixed .Mobile-bar--top { top: 80px; } However, if the browser is set to smaller, the set height of the announcement bar would cut off the messages (image attached). If I change the code for the header top to bigger than 35px, then it creates a gap between the announcement bar and the nav bar. Question: Is there any way to avoid this happening? TIA www.wavymavy.com Link to comment
tuanphan Posted December 17, 2022 Share Posted December 17, 2022 Hi, What is your site url? I think we need to set announcement bar height to auto 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment