Jump to content

I wanna flash my word how can I do?

Recommended Posts

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 by Haiko
Link to comment
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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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

 

Dave Hart. Software/Technology Consultant living in London. buymeacoffee 

Link to comment
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

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.