Text Marquee in Elementor with HTML and CSS

Tex marquee Elementor

A text marquee adds movement to your page by scrolling a line of text across the screen, perfect for announcements, offers, or headlines. In this tutorial you will create a smooth marquee in Elementor with simple HTML and CSS, no plugin needed. Copy the code, drop it in, and change the message to whatever you like.

Text stroke CSS black background

				
					.whed {
white-space: nowrap;
}

.whed :hover {
-webkit-text-stroke: 2px #fff!important;
color: transparent!important;
}
				
			

Add Your Heading Text Here

Text stroke CSS white background

				
					.bhed {
white-space: nowrap;
}

.bhed :hover {
-webkit-text-stroke: 2px #000!important;
color: transparent!important;
}
				
			

Add Your Heading Text Here

Tex marquee HTML

				
					<marquee direction = “right”>Skräddarsydd webbdesign – Optimerad för snabbhet </marquee>
				
			

Skräddarsydd webbdesign – Optimerad för snabbhet

How it works

The marquee works by placing your text in a wide track and animating its horizontal position with a CSS keyframe. As the animation loops, the text appears to scroll continuously. Duplicating the text inside the track keeps the motion seamless with no visible gap when it repeats.

Tips and customization

  • Adjust the animation duration to speed up or slow down the scroll.
  • Pause the marquee on hover for better readability.
  • Change the font size and color to match your design.

FAQ

Does the marquee work on mobile?
Yes. It is pure CSS and scales to any screen width.

Can I scroll it the other direction?
Yes. Reverse the animation direction to scroll the opposite way.

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest tutorials

Shilpi is a WordPress theme and visual builder that saves every page as readable HTML,...
Fix wrong AI translations in bulk, back up your translated content as JSON, and safely...
Most WordPress mega-menu plugins add extra CSS/JS files that slow down your site — and...
Freelancer Mojibur
freelancer mojibur

Start a Project!

Interested in working together? Send a quick message or schedule a meeting. Ask questions, discuss details, and decide if we are a good fit.

Website Project Inquiry

This form helps me get a general idea. We’ll schedule a meeting soon to discuss everything in more detail!

Freelancer Mojibur

Contact person

For quick communication email at: freelancermojibur@gmail.com