Support

Home Forums Event Espresso Premium CSS to change button colors – not working

CSS to change button colors – not working

Posted: October 14, 2022 at 1:07 pm

Viewing 4 reply threads


HonorFltNtwrk

October 14, 2022 at 1:07 pm

I’ve attempted to change the button text font color for the empty event cart, proceed to registration and update event cart buttons, but the class isn’t responding. Done this before, but the large buttons both on the cart AND the pop up window – none of them will respond. So I’m missing a class issue here somewhere.

input.cart-results-register-button {
font-color: #ffffff!important;
font-weight: 600;
}
input.event-cart-button button {
font-color: #ffffff!important;
font-weight: 600;
}


Tony

  • Support Staff

October 14, 2022 at 1:42 pm

Hi there,

I tried to check your site to see the CSS but its members only.

Can you add a screenshot of the inputs you are looking to change please?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


Tony

  • Support Staff

October 14, 2022 at 2:05 pm

Based on viewing a test site of my own to try and see what you are targeting, the .cart-results-register-button element is not an input, it’s link so I think you need something like this:

.cart-results-go-back-button,
.cart-results-register-button,
.cart-results-view-cart-lnk {
    font-color: #ffffff!important;
    font-weight: 600;
}


HonorFltNtwrk

October 14, 2022 at 4:42 pm

Tony,

No dice. But after some digging and dissecting the CSS, this did work:

#event-cart-qty-frm .mini-cart-button.button,
#event-cart-qty-frm .cart-results-button.button,
#event-cart-qty-frm .event-cart-button.button {
	color: #ffffff!important;
}

Changed all 4 buttons at once -the text color!


Tony

  • Support Staff

October 17, 2022 at 2:11 am

Ahh yeah, that makes sense.

I’m glad you found it and thanks for sharing 🙂

Viewing 4 reply threads

The support post ‘CSS to change button colors – not working’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso