Jump to content

Target Header Button?

Recommended Posts

Site URL: https://monicakayne.squarespace.com/?password=kozlov

I'm trying to change the buttons on my site to gold ones via CSS, but for some reason I can't target the header button?

Anyone know why? I'm sure it's my own error, but I've tried:

.header-button

.header-action .btn

.header-action-ation .btn

 

CSS Code is: 

// GOLD BUTTONS
.sqs-block-button-element,
.newsletter-form-button,
.header-actions-action .btn,
.form-wrapper input[type=submit],
 {
border-radius: 5px;
padding: 10px 25px;
color: #000!important;
text-transform: uppercase;
text-shadow: 0px -1px 0px rgba(0,0,0,0.4);
background-image: -webkit-repeating-linear-gradient(
		left, rgba(255, 238, 170, 0)0%,
		rgba(255, 238, 170, 0)3%,
		rgba(255, 238, 170, 0)5%),
		linear-gradient(180deg, #a95 0%,
			#fea 47%, #dc8 53%, #fea 100%);
   
}

 

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

Top Posters In This Topic

Top Posters In This Topic

Use this code

header#header a.btn {
    border-radius: 5px;
    padding: 10px 25px;
    color: #000!important;
    text-transform: uppercase;
    text-shadow: 0px -1px 0px rgb(0 0 0 / 40%);
    background-image: -webkit-repeating-linear-gradient( left, rgba(255, 238, 170, 0)0%, rgba(255, 238, 170, 0)3%, rgba(255, 238, 170, 0)5%), linear-gradient(180deg, #a95 0%, #fea 47%, #dc8 53%, #fea 100%) !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

ah, forgot, use this code

header#header a.btn {
    border-radius: 5px;
    padding: 10px 25px;
    color: #000!important;
    text-transform: uppercase;
    text-shadow: 0px -1px 0px rgba(0,0,0,0.4);
    background-image: -webkit-repeating-linear-gradient( left, rgba(255, 238, 170, 0)0%, rgba(255, 238, 170, 0)3%, rgba(255, 238, 170, 0)5%), linear-gradient(180deg, #a95 0%, #fea 47%, #dc8 53%, #fea 100%) !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

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.