Triick Posted December 20, 2020 Posted December 20, 2020 Site URL: https://www.milkglobal.net Morning/Evening guys, Has anyone managed to achieve a scrolling announcement bar that works on all devices. I've tried quite a few open source codes but nothing achieves a smooth transition from right to left. If anyone has any advice it would be hugely appreciated. Thanks Dan Beyondspace 1
Beyondspace Posted December 20, 2020 Posted December 20, 2020 1 hour ago, Triick said: Site URL: https://www.milkglobal.net Morning/Evening guys, Has anyone managed to achieve a scrolling announcement bar that works on all devices. I've tried quite a few open source codes but nothing achieves a smooth transition from right to left. If anyone has any advice it would be hugely appreciated. Thanks Dan Add this to Design->Custom CSS .sqs-announcement-bar-text { overflow: hidden; } #announcement-bar-text-inner-id { display:block; position:relative; width:100vw; animation:scroll 10s linear infinite; padding:3px; } @keyframes scroll { 0% {left:800px;} 100% {left:-800px;} } Triick 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Triick Posted December 20, 2020 Author Posted December 20, 2020 2 hours ago, bangank36 said: Add this to Design->Custom CSS .sqs-announcement-bar-text { overflow: hidden; } #announcement-bar-text-inner-id { display:block; position:relative; width:100vw; animation:scroll 10s linear infinite; padding:3px; } @keyframes scroll { 0% {left:800px;} 100% {left:-800px;} } Is there a way to make it flawless, at the moment it finishes before the edge of the screen, Also can it start again before it reaches the left hand side? Thanks
Triick Posted December 21, 2020 Author Posted December 21, 2020 Site URL: https://www.milkglobal.net Hi guys, Me again......Im not sure the marquee option is right for what I need so has anyone ever been able to animate the text in the announcement in a rolling style so I could have multiple Discount Codes that show after every 3 seconds etc? I was trying marquee scroll but its not having the effect I desire. Thanks Dan
Guest Posted February 19, 2022 Posted February 19, 2022 On 12/20/2020 at 7:23 AM, bangank36 said: Add this to Design->Custom CSS .sqs-announcement-bar-text { overflow: hidden; } #announcement-bar-text-inner-id { display:block; position:relative; width:100vw; animation:scroll 10s linear infinite; padding:3px; } @keyframes scroll { 0% {left:800px;} 100% {left:-800px;} } I used this and it worked seamlessly, but how do we get the text to repeat to where we eliminate that awkward blank space and pause in the scrolling animation?
Beyondspace Posted February 20, 2022 Posted February 20, 2022 14 hours ago, BLSTUDIO said: I used this and it worked seamlessly, but how do we get the text to repeat to where we eliminate that awkward blank space and pause in the scrolling animation? Can you share your link? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Guest Posted February 21, 2022 Posted February 21, 2022 On 2/19/2022 at 8:03 PM, bangank36 said: Can you share your link? www.bylaurendi.studio password: hello
Beyondspace Posted February 21, 2022 Posted February 21, 2022 Have you tried adding more text on announcement to make it longer than current state? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment