Javdesign Posted February 14 Share Posted February 14 (edited) Hi folks! I have a sentence in a text block on my site where I'd like the last word in it to "rotate" through different words. I found a CSS example on the web: https://jsfiddle.net/n5dLdgor/1/ that illustrates exactly what I want to do (although my word will always be at the end of the sentence). Even the style of the transition is what I want. But given that text is in blocks with IDs on Squarespace, I'm wondering how to alter this code to get it to work in Squarespace CSS/Code Injection (especially because it needs to identify and change only the last word in the sentence in the text block). Thanks in advance for your help! Edited February 14 by Javdesign added more tags Link to comment
Solution CassAggett Posted February 14 Solution Share Posted February 14 @Javdesign here's a couple: https://www.beatrizcaraballo.com/blog/looping-rotating-words-heading-squarespace https://schwartz-edmisten.com/plugins/p/animated-rotating-text If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆 Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business. WEBSITE • INSTAGRAM Link to comment
Javdesign Posted February 15 Author Share Posted February 15 Thank you so much! The first one was exactly what I needed (and her video is SO good at explaining how to implement it and how to tweak details). Best, JV CassAggett 1 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