Haiko Posted October 6, 2021 Share Posted October 6, 2021 (edited) Hi i want to flash my word "Boutique en ligne" with some colors on the second navigation but only one of four and I didn't find where I make him and the Coding so if you can help me 😃 Thanks You ! Edited October 6, 2021 by Haiko Link to comment
Beyondspace Posted October 6, 2021 Share Posted October 6, 2021 1 hour ago, Haiko said: Hi i want to flash my word "Nos bouteilles" on the second navigation but only one of four and I didn't find where I make him and the Coding so if you can help me 😃 Thanks You ! Kindly share your site url so we can have a look Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword HighlighterIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Haiko Posted October 6, 2021 Author Share Posted October 6, 2021 2 hours ago, bangank36 said: Kindly share your site url so we can have a look https://www.capilla-wine.com/accueil Link to comment
iamdavehart Posted October 6, 2021 Share Posted October 6, 2021 you can add something like this to your custom css. (go to your main design menu). nav a[href="/sous-catgorie"] { animation: blinkingText 0.5s infinite alternate-reverse; } @keyframes blinkingText { 0% { color: black; } 100% { color: red; } } the first rule targets the just the navigation link that points to /sous-catgorie, and tells it to use the animation we specify in the next rule. it runs it forwards then backwards, taking half a second to go from 0% to 100%. the second rule tells it what color the text should be at each stage. in this case start black and end red. you could add other similar lines at 50% if you want it to go through three colours. if you wanted it to blink in and out, you could animate the opacity instead of the colours by changing the second rule to this @keyframes blinkingText { 0% { opacity: 0; } 100% { opacity: 1; } }  Haiko 1 Dave Hart. Software/Technology Consultant living in London Link to comment
Haiko Posted October 8, 2021 Author Share Posted October 8, 2021 On 10/6/2021 at 5:30 PM, iamdavehart said: you can add something like this to your custom css. (go to your main design menu). nav a[href="/sous-catgorie"] { animation: blinkingText 0.5s infinite alternate-reverse; } @keyframes blinkingText { 0% { color: black; } 100% { color: red; } } the first rule targets the just the navigation link that points to /sous-catgorie, and tells it to use the animation we specify in the next rule. it runs it forwards then backwards, taking half a second to go from 0% to 100%. the second rule tells it what color the text should be at each stage. in this case start black and end red. you could add other similar lines at 50% if you want it to go through three colours. if you wanted it to blink in and out, you could animate the opacity instead of the colours by changing the second rule to this @keyframes blinkingText { 0% { opacity: 0; } 100% { opacity: 1; } }  Thanks you so much ! 😃 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