Support

Home Forums Community Forum Limit venue display to only the event venue

Limit venue display to only the event venue

Posted: November 1, 2019 at 6:09 am


holyfeld

November 1, 2019 at 6:09 am

I’ve added the following to the “additional CSS” file.

/* remove next and previous links from the bottom of the event/ticket page */

.single-espresso_events ul.default-wp-page li.previous,
.single-espresso_events ul.default-wp-page li.next {
display: none;
}

My memory says it used to work, but I have a new event and at the bottom of the registration page I see the “Previous” link. I can scroll through the venues for the previous events.

How can I not display the other venues?

EE 4 Version 4.10.1.p


Tony

  • Support Staff

November 1, 2019 at 7:15 am

Hi there,

Those Next/Previous links are added by your theme, so if you’ve changed themes since you added the above (or een updated) the classes may have changed.

The CSS you need to remove both next and previous links from EE events now is:

.single-espresso_events .nav-next, 
.single-espresso_events .nav-previous {
    display: none;
}


holyfeld

November 1, 2019 at 8:31 am

works.

Thank you!

The support post ‘Limit venue display to only the event venue’ 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.

If you would like help from the Event Espresso staff, then please purchase a support license right now so you can create a support topic in our premium support forums.

Status: closed

Updated by  holyfeld 9 months, 2 weeks ago ago

Topic Tags

Notifications

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