Support

Home Forums Event Espresso Premium Hide the line stating the number of available places

Hide the line stating the number of available places

Posted: September 6, 2013 at 10:37 am

Viewing 4 reply threads


B D

September 6, 2013 at 10:37 am

Is there a way to hide the line stating the number of available places on the main registration page, but only for some events, not for all?

Thank you in advance for any suggestion.


Garth

  • Support Staff

September 6, 2013 at 1:37 pm

I’m not aware of any way to turn that on/off for some events without using individual shortcodes per event or different event lists/pages per event: https://eventespresso.com/wiki/shortcodes-template-variables/


B D

September 7, 2013 at 7:07 am

Thank you. But what’s the exact shortcode to turn off the attendees number/registration limit (which appears automatically with every event on the main registration page) and where to paste the shortcode on the page of the individual event?


Dean

September 9, 2013 at 2:21 am

Hi

There isn’t a shortcode to turn off the Available Spaces, you would need to use CSS.

.spaces-available { display:none; }

The above will hide the avilable spaces for EVERY event.

To do it on a per event basis it depends on your setup. One way would be to add a css rule for each event you do not want the Availabke Spaces to show up, e.g.

#available_spaces-1,
#available_spaces-2,
#available_spaces-3 { display:none; }

The above would hide the Available Spaces for events with the ID’s 1, 2 and 3.

If you have several event lists, using the [EVENT_LIST] shortcode, and you want one specific list to not show it, then I would add the css attibute tot he list, like so [EVENT_LIST css_class=my-custom-class]. Thgen you can target that entire list but no other:

.my-custom-class .spaces-available { display:none; }


B D

September 10, 2013 at 4:06 pm

Thank you so much for the clear explanation.

Viewing 4 reply threads

The support post ‘Hide the line stating the number of available places’ 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