Jump to content

Change Active Product Link Color

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://www.ariellazoelle.com/store

I would like the sidebar navigation in my store to have the active link change color to #65C5EE, but I can't figure out what code to use to make do it. I could successfully get it to change colors with the hover to purple, but the active link color change to capri blue has me stumped.

Any help would be appreciated!  Thank you for your help.

Link to comment
  • Replies 6
  • Views 627
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

14 minutes ago, AFZ said:

Site URL: https://www.ariellazoelle.com/store

I would like the sidebar navigation in my store to have the active link change color to #65C5EE, but I can't figure out what code to use to make do it. I could successfully get it to change colors with the hover to purple, but the active link color change to capri blue has me stumped.

Any help would be appreciated!  Thank you for your help.

Try adding to Home > Design > Custom Css

.category-link.active {
  color: #65C5EE !important;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

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
  • Solution

My testing

image.thumb.png.552625758c5b799810ceb93dbf13da2b.png

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

Oh, that works beautifully, thank you! And thank you for such a fast answer! ❤️ 

As a follow-up question, what is the code string for making changes to the Cart page button before the { symbol?

Thank you!! 

Edited by AFZ
Link to comment
1 minute ago, AFZ said:

Oh, that works beautifully, thank you! ❤️ 

As a follow-up question, what is the code string for making changes to the Cart page before the { symbol?

Thank you!! 

Can you describe more detail? Some screenshots could help a lot

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

I want to do this code for the Cart page button on https://www.ariellazoelle.com/cart for consistency to match all the other buttons on my site.

Quote

// Solid Drop Shadow Add To Cart Product Button //

.ProductItem-details .sqs-add-to-cart-button {
  box-shadow: 5px 5px #FF61D7;
  padding: 20px;
}

I also want to do the hover effect on the Cart page button:

Quote

// Hover Add to Cart Product Button //
.ProductItem-details .sqs-add-to-cart-button {
    transition: all 0.3s !important;
}

  
.ProductItem-details .sqs-add-to-cart-button:hover {
   color: ##FFFFFF;
   background-color: #65C5EE !important;
}

 

Edited by AFZ
Link to comment
On 4/17/2022 at 10:15 AM, AFZ said:

I want to do this code for the Cart page button on https://www.ariellazoelle.com/cart for consistency to match all the other buttons on my site.

I also want to do the hover effect on the Cart page button:

 

Do you still need help?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.