I would likt with css to hide f.i etc. on one event and show with another.
I see no id specific to the event f.i a event-specific body class where i can hook in.
Is there a way to achieve this? Because the page-id for all events is the same!
Is this for the registration page? If so, the simple way to do this would be to add inline CSS styles right within the event editor (in text/html view). If you wanted to add these in a stylesheet, you might consider adding an event ID to an ID or class name. For example, you could change the ID for the registration form div in registration_page_display.php:
Great help. It works! But ONLY when i change the core file. When i put the changed code in and put the file in uploads/espresso/templates it doesn’t work.
Depending on the file you are trying to change: if you have copied over the event_registration_display.php or the event_list_display.php you need to also copy over the registration_page.php and/or the event_list.php.
Basically they are linked both files need to be copied over even if you are only editing one, otherwise the system wont recognize them in the uploads folder.
The support post ‘css on different events’ 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.