Home Forums Event Espresso Premium Hiding/revealing various time sensitive pricing levels

Hiding/revealing various time sensitive pricing levels

Posted: December 31, 2019 at 10:07 pm


December 31, 2019 at 10:07 pm

Hi there,
About a year ago I wrote:
My event has three levels of pricing, Advance, Early Bird and Regular, each with a different selling period and price. Is there a way in EE4 to hide the tickets that go on sale in the future from the current ticket status and price until it expires and the next level begins?
You kindly provided me with some CSS code which worked at the time but no longer seems to for this year’s event. Can you please advise?
Many thanks in advance.


  • Support Staff

January 2, 2020 at 11:28 am


Can you share a link to the page where the CSS isn’t working? If we can see the page in question we can investigate further.


January 2, 2020 at 11:33 am

This reply has been marked as private.


  • Support Staff

January 2, 2020 at 11:40 am

Hi Kerry,

The reason the solution works on the one page and not on the conference page is because the conference page is using an <iframe>. iframes are basically loading a separate page within the page, so any CSS you add to your page will not be applied.

What you can do is change the page so it uses the ticket selector shortcode instead of the iframe code. It’s a simple change:

1) You go to edit the conference page
2) Remove the iframe code
3) Replace with: [ESPRESSO_TICKET_SELECTOR event_id=228]
4) Click Update to save the changes to the conference page


January 5, 2020 at 7:39 am

Hi Josh, Thanks for the guidance. I think the issue I’m having is that event espresso is installed on a subddirectory “” the page in question with the iframe code to replace is on “”. Can you assist here?


January 5, 2020 at 7:41 am



  • Support Staff

January 7, 2020 at 5:42 pm

Here’s another way to add the custom CSS so it will also be applied to the embedded iframe on the other site.

You’ll add the code from this gist to a site specific plugin on the site that has Event Espresso installed:

You can add the above to a functions plugin on your site that has Event Espresso installed.

The support post ‘Hiding/revealing various time sensitive pricing levels’ 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.

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: closed

Updated by  Josh 7 months ago ago

Topic Tags


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