Support

Home Forums Event Espresso Premium Layout of Event Listing pages; can't work out how to stop JS hiding what we need

Layout of Event Listing pages; can't work out how to stop JS hiding what we need

Posted: June 13, 2021 at 6:06 am


codingforsail

June 13, 2021 at 6:06 am

Hi,

A few weeks ago I asked this: https://eventespresso.com/topic/event-category-shortcode-parameters-and-event-layout-template/

I have used a combination of custom templates, css and the event template options to achieve nearly what we want, but I can’t figure out how to do the last bit.

This is available at: https://test.essa.org.uk/groups/holiday-activities/

I have created a screenshot showing bits we want to show or not show: https://www.pastefile.com/5w59kf


Tony

  • Support Staff

June 14, 2021 at 5:01 am

Hi there,

You can use some CSS to force the ticket details to always display and then hide the display link, something like this should work for what you are requesting:

.tckt-slctr-tkt-details-dv,
.tckt-slctr-tkt-details-tr {
    display: table-row!important;
}

.tkt-slctr-tbl-wrap-dv .display-the-hidden {
    display: none;
}

Add that to Appearance -> Customize -> Additional CSS.


codingforsail

June 15, 2021 at 3:54 am

Perfect. Thank you.


Tony

  • Support Staff

June 15, 2021 at 5:05 am

You’re most welcome.


codingforsail

June 17, 2021 at 2:45 pm

Hi,

Still struggling a bit but nearly there.

Please see screenshot and comments on it: https://www.pastefile.com/g75r86

The screenshot got saved before I was ready so there are some random lines on it.

Could you have a look please?

Thanks,

Anita


codingforsail

June 18, 2021 at 4:14 am

No worries. Changed # to .

I was too tired last night to notice.


Tony

  • Support Staff

June 18, 2021 at 4:45 am

Hi there,

Glad you fixed it 🙂

Just a note for future readers, in CSS # is used to select the element based on the ID, . is used to select the element(s) based on its class.

The support post ‘Layout of Event Listing pages; can't work out how to stop JS hiding what we need’ 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