Support

Home Forums Event Espresso Premium Problem with Button Colors past registration first-page.

Problem with Button Colors past registration first-page.

Posted: April 19, 2022 at 11:06 am


ggoodencasa

April 19, 2022 at 11:06 am

Hi! I searched in the forums and none of the posted solutions solved the problem.

The default “submit button” colors past the default registration page are off, and don’t even match anything else that displays submit buttons on our site.

The button on THIS page looks like system default:
https://www.casatreatmentcenter.org/events/25th-annual-charity-golf-tournament/

But once you click that “Register Now” button, the submit buttons on subsequent pages are DIFFERENT and unreadable.

Any ideas?


Tony

  • Support Staff

April 20, 2022 at 1:49 pm

Hi there,

The problem here is from a CSS file being included by your site’s theme, there is a bunch of CSS overrides within a shop.css file in the theme, then within that same CSS file there is a bunch of invalid CSS syntax which causes havoc within browsers as they all do whatever they want with the invalid rules.

If you can send me a copy of the theme in use on the site I might be able to put together a snippet to force the file not to load on the checkout page, there’s just too much ‘wrong’ with the CSS there to start overriding the broken selectors to fix it.


ggoodencasa

April 21, 2022 at 12:43 pm

I’d be super grateful for any assistance you can provide! What’s the best way to get you a copy of that theme?


Tony

  • Support Staff

April 21, 2022 at 12:48 pm

I’d recommend using a service like WeTransfer: https://wetransfer.com/

Send the .zip file to support[at]eventespresso.com and I’ll take a look to see if the theme is doing things in a way we can hook in and remove that file.


ggoodencasa

April 21, 2022 at 12:59 pm

Sent!


ggoodencasa

April 26, 2022 at 9:12 am

Hiya! Following up. “WeTransfer” says, “Hmm, it looks like your files haven’t been downloaded yet, and this transfer will expire on 28 April, 2022. When this happens, these files will be removed from our servers.”

Just wondering if you got that message. ๐Ÿ™‚


Joao Victor

  • Support Staff

April 27, 2022 at 11:09 am

Hello there!

Thanks for sending your theme through our support email as my teammate, Tony, requested. We are sorry to delay with this, but I have shared with you under the gregory@casatreatmentcenter.org email your theme with a small code change in the shop.php file that will avoid shop.css to be loaded on checkout pages only. The small change is the “!is_page( ‘registration-checkout’ )” inside the if on shop.php line 5 that will avoid shop.css to load when the page is Registration Checkout.

Let me know if it helps!


ggoodencasa

April 28, 2022 at 11:19 am

Y’all rock! Thanks so much!


Tony

  • Support Staff

April 28, 2022 at 1:45 pm

You’re most welcome, happy to help ๐Ÿ™‚

The support post ‘Problem with Button Colors past registration first-page.’ 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