Support

Home Forums Event Espresso Premium Remove the Attendee # box when unused

Remove the Attendee # box when unused

Posted: January 12, 2015 at 5:12 am

Viewing 6 reply threads


Miramedia

January 12, 2015 at 5:12 am

Hi,

I’ve removed the text ‘This ticket type does not require any information for additional attendees..‘ using the handy filter…
FHEE__registration_page_attendee_information__attendee_info_not_required_pg

I currently have several blank “Attendee #” boxes now listed

However, is there a way to remove the wrapping div?


Miramedia

January 12, 2015 at 5:14 am

What is your WordPress version? 4.1

What are the versions of Event Espresso and the installed add-ons? Latest 4.4.8p

Is this a new installation, or one that was recently upgraded? New

If your site is online, please include a link to the registration page: http://estasbookings.wpengine.com/


Tony

  • Support Staff

January 12, 2015 at 6:53 am

Hi,

As you have found, that filter is to allow you to eaisly alter the text, rather than remove the parent element from the page.

The easiest way to do this is using a couple of CSS3 selectors, like so:

.spco-attendee-panel-dv:not(:first-of-type) {
display: none;
}

However to note, that will remove any additional attendee info boxes, so if some of your events do require additional info for attendees, this may not work for you.

I will add a feature request to allow these elements to be removed from the page if not additional info is required.


Miramedia

January 13, 2015 at 9:48 am

Beautifully bodgy but bang on!

Thanks sounds great.


Lorenzo Orlando Caum

  • Support Staff

January 13, 2015 at 10:26 am

Hi, I see that you are using WP Engine. If you have not already done so, please request no-cache rules / exclusion rules for your Event Espresso pages:

https://eventespresso.com/wiki/setup-nocache-exclusion-rules-event-espresso/


Lorenzo


Miramedia

January 14, 2015 at 3:06 am

Thanks Lorenzo, good spot. I hadn’t realised that.


Lorenzo Orlando Caum

  • Support Staff

August 4, 2016 at 5:53 am

Hello,

A recent release (https://eventespresso.com/wiki/ee4-changelog/) of Event Espresso 4 introduces a CSS class that can be targeted to hide that information.

.ee-reg-form-no-info-required {
    display: none;
}

The CSS above can be added to your site through a custom CSS area. If your theme has an option then you can use that. Otherwise, you could use a free plugin like Simple Custom CSS or Reaktiv CSS Builder.

If you do need to collect information from additional attendees/registrants, then you will be able to do so as the CSS above does not affect they forms.


Lorenzo

Viewing 6 reply threads

The support post ‘Remove the Attendee # box when unused’ 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