Jump to content

Banner button different color on hover

Recommended Posts

Site URL: https://www.boekjevankarton.nl


On my home page I have a button on my banner. It is a large pill shaped button, in the outline form with white text and lines, and on hover it becomes solid white with black text. I would like it to turn solid green with white text on hover. Does anyone know how to do that? I have tried custom css on the web but it does not seem to work!

Green background: #BCD9A1
White text: #FFFFFF


Thank you very much!

Link to comment
  • Replies 2
  • Views 402
  • Created
  • Last Reply
On 2/18/2021 at 3:30 PM, tuanphan said:

Add to Design > Custom CSS

/* banner button hover */
div#block-yui_3_17_2_1_1594843544680_4793 a:hover {
    background: #BCD9A1;
    border-color: #BCD9A1;
    color: white;


This works beautifully, thank you so much! I have noticed you answer a lot of questions on the forums, you do amazing work!!

Link to comment


This topic is now archived and is closed to further replies.

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