Help - trying to make marquee work on homepage section and product pics in collection pages?

jordan95
Tourist
6 0 4

Hi there,

I'm trying to get a marquee to work as a section in my theme's code. I've managed to get the text moving as it should but the background doesn't adapt to the size of the text as seen below. It works on one of my other themes and I can't figure out why it's happening. Does anyone have any ideas? I can DM or share the code. I'd also love to get a similar banner across the first page of my product pictures on the collection page. Does anyone know how I can do that? 

marquee-example.jpg

 

Thanks in advance!

Replies 0 (0)