Posted: July 30, 2012 at 6:18 am
|
Hi, Thanky, |
I’m not sure I understand the question, but here are a few tips: Most of the price display can be hidden with css, and these often have ID’s so they can be selected per event. For example, let’s say the event ID for the free event was 1. To hide only the free event price display in the event list, you’d add something like this to your WP theme’s custom stylesheet:
As an alternative, the my custom CSS plugin could be used to make CSS customizations like this one. |
|
|
connected question regarding CSS if required questions were not completed, a reminding text occurs. I want this text to be in red letters. the text is named label.error but I cannot find the appropriate part in the CSS – and in which CSS do I have to look for it? In the eventespresso one or the WP theme one? Thanks dh
|
If you’re using one of the Event Espresso included style options (like one of the themeroller options) set in Event Espresso>Template settings, these should make that text red. If they are not displaying as red, and the themeroller styles are active, the WordPress theme (or another plugin) might be overriding these. Are you familiar with how to use firebug to inspect page elements to see where the style is coming from? Here’s a great video that shows how to use firebug: http://css-tricks.com/video-screencasts/15-introduction-to-firebug/ |
|
|
Regarding your advice “hiding the price 0,00 EUR” we want to hide it everywhere: On Top of the setting page for the event, the unique event identifier was shown as: icils-fost-2-4fe8335f82cef In the the WordPress theme style.CSS, below the part p#p_event_price-icils-fost-2-4fe8335f82cef {display:none;} and it did not hide anything. |
Try the event_ID, it should be a numerical value. If in doubt, check the page with Firebug to get the element’s ID . |
|
|
We have deactivated the themeroller options Thank you for the link to the video. Firebug doesn't show anything. It looks pretty different in the video to the one I have here. |
You could try activating themeroller, inspecting the element with firebug, then copy over the applicable style rules from the themeroller style to your WP theme’s custom stylesheet (or create a child theme) In most cases, it would be something like this:
|
|
|
Regarding your advice “hiding the price 0,00 EUR” But it works only for the event list. On the registration page there is still the line price: 0,00 Euro. |
|
Activating the themeroller will be a big intervention in the layout. I will look if I have time for this tomorrow. |
|
Regarding hiding elements We want also to hide the line ‘available spaces’ in the eventlist as well in the registration form. I would appreciate if you could give me such an easy advice like before for hiding the price.
|
You only need to activate it for one minute to get the applicable style rules, or try the style rule I pasted in the above thread. |
|
|
Yeah!! Worked! Thank you Josh!!! |
|
So remaining… |
Hiding the price on a specific registration/view details page takes an extra step: Add a hook to echo the event id to the registration form div. Modify line 6 of the registration_page_display.php template like so:
Then add a style rule to your custom stylesheet like this one:
The available spaces code in the templates can be commented out, or the text can be hidden with CSS:
|
|
|
ok then… |
|
> spaces-available {display:none;} if ($display_reg_form == ‘Y’) { <?php //Comment, available spaces set to hidden 2012.01.03 /* <p id="available_spaces-“> So now, available spaces will no longer displayed, alas, for all events. That’s a disadvantage as we will have events in future, which are not chargefree,and we want to show the available spaces then. |
|
sorry for writing in German 🙂 |
I created a ticket so we can add something like this in an upcoming version of Event Espresso. |
|
The support post ‘not display the Event price 0,00 EUR’ 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.