On the ticket selector there is a class around the table row that is made up using ee-ticket-{ticket-name} (ticket name has spaces converted to dashes and any invalid char removed)
So in your example the ticket name is: Early Bird – until Aug 31
Meaning the CSS class would be: .ee-ticket-early-bird-until-aug-31
So then you can add some custom CSS to your theme style.css file or through Appearance -> Customize -> Additional CSS, such as:
You can change this by first getting the Ticket ID number for that ticket. You go to edit the event and in the Ticket editor section the first field is the ticket name, you’ll make a note of that ticket name. Then you go to the Appearance -> Customize section of the admin, and there is a tab labeled ‘Additional CSS’. If you go into the customizer, you can add some code like this to change the color of the specific ticket. Please paste the code between the dashed lines into the stylesheet:
You’ll note that the selector starts with .ee-ticket- then appends the name of the ticket with dashes for each space. Please refer to this guide for more detailed information about the CSS customizer: https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress
Viewing 2 reply threads
The support post ‘Changing color of specific Ticket’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.