Support

Home Forums Event Espresso Premium Hiding the event details

Hiding the event details

Posted: January 6, 2020 at 6:02 am


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.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Tony 2 weeks ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!