Support

Home Forums Event Espresso Premium Remove links from Thank You page

Remove links from Thank You page

Posted: February 25, 2016 at 8:20 am


KineticPulse

February 25, 2016 at 8:20 am

I have amended the congratulations message using the filter, and hidden the big blue button via CSS, but I also need to hide the ‘click here to amend attendee details’ and ‘click here to view payment options’ links. There is no ID or class on either of these buttons for some reason, so CSS is not an option.

Could you explain how I can amend this?

Thanks


Tony

  • Support Staff

February 25, 2016 at 8:58 am

Hi there,

If using CSS you can do that using the direct child selector (>):

#espresso-thank-you-page-overview-dv .ee-registration-details-dv>p,
#espresso-thank-you-page-transaction-details-dv>p {
    display: none;
}

Which removes any paragraph elements which a direct child within both the registration details and transaction details sections on the thank you page.

Currently the only elements that will match are those 2 links you are requesting to remove.


KineticPulse

February 25, 2016 at 9:01 am

Thanks Tony

I’ve just this minute solved it by targeting the translation strings for the links and setting them to empty. Seemed cleaner than CSS


Tony

  • Support Staff

February 25, 2016 at 9:07 am

Yeah, I agree that’s a cleaner solution, nice workaround 🙂

The support post ‘Remove links from Thank You page’ 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