Posted: February 22, 2013 at 9:58 am
Hi, I would likt with css to hide f.i etc. on one event and show with another. Is there a way to achieve this? Because the page-id for all events is the same! Thanks, | |
Hi Evert, 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:
| |
Hi Josh, 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. Please tell me why, i don’t get it. I don’t want any code overwritten with updates. Thanks have a lovely weekend. Evert | |
Hi, 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. | |
Thanks Dean, | |
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.