Support

Home Forums Event Espresso Premium Hiding the event details

Hiding the event details

Posted: January 6, 2020 at 6:02 am

Viewing 3 reply threads


Lafayette

January 6, 2020 at 6:02 am

Good morning,
I found this code in the forum
.display-tckt-slctr-tkt-details.display-the-hidden.lt-grey-text.smaller-text {display:none;}

to change the CSS to hide the details. It is not working when I apply it in my page. Can you help me figure out what I am doing wrong.
Page is http://lmgny.com/health-wellness
Thanks!


Tony

  • Support Staff

January 6, 2020 at 6:41 am

Hi there,

That CSS looks like its hiding the ticket details link, correct?

If so we have an option for that within EE:

Event Espresso -> Events -> Templates -> Ticket Selector Template Settings ->
Show Ticket Details?

Set that to No and the link to be removed.


Lafayette

January 6, 2020 at 6:54 am

Thanks so much!
I completely missed that and it solved exactly what I needed to do.


Tony

  • Support Staff

January 6, 2020 at 7:09 am

You’re most welcome.

Just to note, it looks like the CSS you added to the site is invalid and that’s why it didn’t work.

In your opening post you have:

.display-tckt-slctr-tkt-details.display-the-hidden.lt-grey-text.smaller-text {display:none;}

Yet on your page you have:

.et_pb_code_1:after{.display-tckt-slctr-tkt-details,.display-the-hidden.lt-grey-text.smaller-text{display:none}.et_pb_map_0>.et_pb_map{height:550px}

You can’t nest classes like that:

.et_pb_code_1:after{.display-tckt-slctr-tkt-details...

That’s not valid vanilla CSS and it should be:

.et_pb_code_1:after{*some styles here*}.display-tckt-slctr-tkt-details...

Also:

.display-tckt-slctr-tkt-details,.display-the-hidden.lt-grey-text.smaller-text{display:none}

The comma after .display-tckt-slctr-tkt-details separates that into 2 selectors, one for .display-tckt-slctr-tkt-details and another for .display-the-hidden.lt-grey-text.smaller-text

Just letting you know as you’ll need to remove that broken CSS or it will prevent other CSS from working.

Viewing 3 reply threads

The support post ‘Hiding the event details’ 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