Support

Home Forums Pre-Sales Registration ticket drop down nit displaying on smart phone

Registration ticket drop down nit displaying on smart phone

Posted: January 2, 2017 at 4:40 am


beruh

January 2, 2017 at 4:40 am

Hi,
I setup event espresso registration for visitors to select no. of tickets and the drop down is displayed on PC browser but not on smartphones. It used to work, but now I can’t select no. of tickets on iphone or android. Pls help


Josh

  • Support Staff

January 2, 2017 at 12:51 pm

Hi there,

When this used to work, was that before the WP hotel booking plugin was installed?


beruh

January 2, 2017 at 10:02 pm

Hi Josh,

Thanks for your reply. Yes, I believe it used to work fine until recently, which is when we installed the WP hotel booking plugin. Could that be the cause, and if so what would you recommend?


Josh

  • Support Staff

January 3, 2017 at 8:00 am

The WP hotel booking plugin adds some CSS to the site that’s breaking the ticket selector on small screens. You can add some code to your site that will automatically remove the CSS on event pages. Here’s some example code that you can use:

function remove_wp_booking_styles_on_event_pages(){
 if ( 'espresso_events' == get_post_type() ) {
  wp_dequeue_style( 'tp-hotel-booking' );
 }
}
add_action( 'wp_enqueue_scripts', 'remove_wp_booking_styles_on_event_pages', 11 );

You can add the above to a functions plugin, then activate the plugin.

As an aside, we recommend that you renew your support license. This way you’ll continue to receive support and you’ll be able to update to the current version of Event Espresso caffeinated.


beruh

January 3, 2017 at 11:23 am

Thank you Josh. That resolved the issue. Currently, we are trying it out for one event, but will definitely look into renewing support license, as you have recommended.

Cheers!

The support post ‘Registration ticket drop down nit displaying on smart phone’ 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