Jump to content

How to target a specific button for CSS

Recommended Posts

@JacquiNZ Please setup password & share url again. If you dont know how to, see my signature.

If you know a bit of HTMl/CSS > Right click on button > Inspect Element > You will see class=...sqs-button-element.."

and look a little above you will see id="block-yui..."

use CSS: #block-yui.. .sqs-button-element {} to target for that button.

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
23 minutes ago, JacquiNZ said:

Hi there,

I'm stumped at how to target the button in my top footer in Brine. 
I've changed the footer colour for mobile view, so I need to also change the button colour. 
Any suggestions?

The site url is https://lily-smilodon-gzzc.squarespace.com/
And it's currently getting linked to http://www.moveintowellbeing.co.nz/ (private until finished pw: temporary)

Thanks in advance.

You mean: contact ingrid button? add to Home > Design > Custom CSS

/* Only mobile */
@media screen and (max-width:640px) {
div#block-yui_3_17_2_1_1573795087718_21644 a[href="/contact"] {
    background: red;
    color: green !important;
}
}

 

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
  • 1 year later...

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.