Jump to content

Marquee Scrolling Text Announcement Bar

Recommended Posts

Posted
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;}
}

 

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

Posted
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

Posted

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

  • 1 year later...
Posted
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?

Posted
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

Posted
On 2/19/2022 at 8:03 PM, bangank36 said:

Can you share your link?

www.bylaurendi.studio

password: hello

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.