Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
JacquiNZ

How to target a specific button for CSS

Question

6 answers to this question

Recommended Posts

  • 0

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


 Send me a message if you have any questions.

OFF forum from Jan 16 - Jan 31 for Lunar New Year.

Share this post


Link to post
  • 0
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;
}
}

 


 Send me a message if you have any questions.

OFF forum from Jan 16 - Jan 31 for Lunar New Year.

Share this post


Link to post
  • 0
11 minutes ago, JacquiNZ said:

@tuanphan by any chance would you have a solution to my other question?

Used to work for some clients. It consumes time...
You can play with the height of section, figure and img tags
If you do it right, the text will center itself without a problem.

With time-consuming questions on forum, I will answer at the end of the day, or the next day, when I have free time

Edited by tuanphan

 Send me a message if you have any questions.

OFF forum from Jan 16 - Jan 31 for Lunar New Year.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...