mattvrgs Posted April 30, 2021 Share Posted April 30, 2021 (edited) Site URL: https://vanilla-collie-xre6.squarespace.com/ PW: 123456 Hi there! So, I've positioned the Announcement Bar where I want it on desktop, but every time the screen size changes it gets all messed up. Is there a way I can force the position to the top of the dark gray section so it will always be there? I super appreciate the help! Edited April 30, 2021 by mattvrgs Link to comment
mattvrgs Posted April 30, 2021 Author Share Posted April 30, 2021 (edited) A new issue I just noticed is the Announcement Bar is on top of the menu when I open it too. Sheesh. Edited April 30, 2021 by mattvrgs Link to comment
tuanphan Posted May 1, 2021 Share Posted May 1, 2021 18 hours ago, mattvrgs said: Site URL: https://vanilla-collie-xre6.squarespace.com/ PW: 123456 Hi there! So, I've positioned the Announcement Bar where I want it on desktop, but every time the screen size changes it gets all messed up. Is there a way I can force the position to the top of the dark gray section so it will always be there? I super appreciate the help! Add to Design > Custom CSS /* Announcement bar */ .sqs-announcement-bar-dropzone { position: absolute !important; top: 0; z-index: 999; left: 0; width: 100%; } article section:nth-child(-n+2) { margin-top: 100px !important; } 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
mattvrgs Posted May 3, 2021 Author Share Posted May 3, 2021 On 5/1/2021 at 4:00 AM, tuanphan said: Add to Design > Custom CSS /* Announcement bar */ .sqs-announcement-bar-dropzone { position: absolute !important; top: 0; z-index: 999; left: 0; width: 100%; } article section:nth-child(-n+2) { margin-top: 100px !important; } So, I already have this code on my site: .sqs-announcement-bar-dropzone { position: -webkit-sticky; position: sticky; top: 515px; z-index: 10001; } .sqs-announcement-bar-close { display: none; } I tried pasting the code on top of mine, and updating my code to yours and I had some weird things happen. There was a big empty space at the top of the header where the announcement bar was, and then when I went full screen it moved again. This is the correct positioning. I was trying to force it to the top of section[data-section-id="608b1790a9d0f438db008209"] but haven't been able to figure out how. I appreciate it. Link to comment
mattvrgs Posted May 18, 2021 Author Share Posted May 18, 2021 Hey @tuanphan, any other ideas with this one? 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