Support

Home Forums Event Espresso Premium Thank You page – How do you hide "REG Code" column?

Thank You page – How do you hide "REG Code" column?

Posted: May 12, 2018 at 5:28 pm


Smartycat1

May 12, 2018 at 5:28 pm

There is too much data on the Thank You confirmation page. It’s good to have a review of the registrants, but how do I hide the “REG Code” and all of the data in it’s column? See screenshot here:
https://www.dropbox.com/s/xqw33d2jtktc9yp/Thank%20You%20%20%20Smartycat%20Kids.jpg?dl=0

This CSS (below) just messes up the table and hides too much. I want to hide just the 2nd middle column of the table.
.jst-left {
display: none;
}

Which template file has this where I can remove it? And what specifically do I remove? Thanks!


Tony

  • Support Staff

May 14, 2018 at 2:42 am

Hi there,

This CSS (below) just messes up the table and hides too much. I want to hide just the 2nd middle column of the table.
.jst-left {
display: none;
}

As you’ve found, that’s a very ‘greedy’ selector, it will select anything that is set alright the text left (justify left) so you need to be more specific with the CSS selector you use.

This will remove the REG Code column from that table for you:

#espresso-thank-you-page-overview-dv .ee-registrations-list th:nth-child(2), #espresso-thank-you-page-overview-dv .ee-registrations-list td:nth-child(2) {
    display: none;
}

Which template file has this where I can remove it? And what specifically do I remove? Thanks!

Whilst this can be removed by loading your own version of the template file it also means that when any additional features are added to EE that use that template you would need to update your custom version to include it, so for small changes such as this its recommended to use CSS.

The support post ‘Thank You page – How do you hide "REG Code" column?’ 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