Jump to content

Customizing buttons

Recommended Posts

Hi!

I have several buttons on the same page and I would like them to be different in background color and font color.

So; how can I switch a single buttons background color and font color?

Link to comment
  • Replies 3
  • Views 349
  • Created
  • Last Reply

Add to Home > design > custom CSS

/* button 1 */
div#block-yui_3_17_2_1_1585996930778_15664 a {
    color: red;
    background: black;
}
/* button 2 */
div#block-yui_3_17_2_1_1585996930778_16772 a {
    background: #f5b6b8;
    color: white;
}
/* button 3 */
div#block-yui_3_17_2_1_1585996930778_17893 a {
    background: #ffe600;
    color: violet;
}

 

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

Archived

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.