Hide sales Button in community/list

Home Forums Ticket Products Community Tickets Hide sales Button in community/list

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1060841
    Matthew
    Participant

    Hi,

    I need to hide the sales button in /community/list as currently the tickets front end is not compatible with multiple currencies. I have tried doing this with CSS but it just hides all the buttons!

    #tribe-community-events .button {
    display: none;
    }

    Is there a way to hide that specific sales button with CSS? If not which template file do I need to customize to hide it? I couldn’t find the code that generates the button in /wp-content/plugins/the-events-calendar-community-events/src/views/community/event-list.php so I’m guessing that is not where it comes from.

    Thanks,
    Mat

    #1061881
    Brian
    Keymaster

    Hi,

    Thanks for using our plugins. I can help out here.

    Do you have a link you can provide so I can see what is going on?

    I can provide some css to try and target it that way then.

    Thanks

    #1062260
    Matthew
    Participant

    This reply is private.

    #1062556
    Brian
    Keymaster

    Thanks for the link.

    I got this css to hide that button:

    #tribe-community-events .events-community.my-events .row-actions .button:nth-of-type(2) {
    display:none;
    }

    Add that css to your theme’s stylesheet or through a plugin such as Simple Custom CSS.

    Let me know if that helps.

    Thanks

    #1063127
    Matthew
    Participant

    That worked perfectly 🙂

    Thanks Brian

    Mat

    #1063142
    Brian
    Keymaster

    Great, glad it helps, I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Hide sales Button in community/list’ is closed to new replies.