Support

Home Forums Event Espresso Premium Show ticket detail by default

Show ticket detail by default

Posted: June 29, 2015 at 12:10 am

Viewing 3 reply threads


Tim Sherrill

June 29, 2015 at 12:10 am

Is there a way to show the ticket detail for all tickets by default? I am using EE4


Dean

June 29, 2015 at 1:11 am

Hi Tim,

Some CSS can do that for you:

.tckt-slctr-tkt-details-dv { display: block !important; }
.display-the-hidden { display:none; }

That CSS will show the ticket details block and hide the “show details” link.

That CSS can be added to your themes style.css, though in order to preserve the CSS through theme updates we recommend adding it to either: a child themes style.css, your themes CSS options if it has any, or a plugin such as My Custom CSS.


Tim Sherrill

June 29, 2015 at 1:18 pm

Thank you! Is there a way to hide some ticket options on some pages. IE, I would like to have a page where some people can register for free, but the main page to show all of the regular pay per event options.


Josh

  • Support Staff

June 29, 2015 at 2:50 pm

Hi Tim,

Yes, you can make the above CSS that Dean suggested only apply to specific pages. You add the page’s unique <body> class to the rule.

For example, if you want the show ticket rules to apply to the post that’s post ID 444, you change the rules to be:

.postid-444 .tckt-slctr-tkt-details-dv { display: block !important; }
.postid-444 .display-the-hidden { display:none; }
Viewing 3 reply threads

The support post ‘Show ticket detail by default’ 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