Hide tickets section on submit an event form

Home Forums Ticket Products Community Tickets Hide tickets section on submit an event form

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

    Hi,

    I sell tickets in multiple currencies so I need to set up the tickets in the backend myself. I don’t want my community members to see the tickets section on the events/community/add form. When I try to hide it with CSS the whole form disappears (I’m useless with CSS).

    Could you guys maybe provide me a snippet of CSS to hide the following section? It would be greatly appreciated.

    Here is a screenshot of what I want to remove:
    http://nimb.ws/nS7P5J

    Thanks,
    Mat

    #1092066
    Cliff
    Member

    Hi Matthew.

    How about trying this CSS:

    #tribe-community-events #ticket_form_table,
    #tribe-community-events .ticket_list_container {
    display: none;
    }

    You can add custom CSS code via your child theme’s style.css file or via a plugin like Simple Custom CSS or, my favorite, Jetpack. Jetpack supports regular CSS and the LESS and Sass pre-processors.

    If you’re not a CSS expert, Jetpack’s Custom Design reference may prove helpful.

    Please let me know how it goes for you.

    #1097544
    Matthew
    Participant

    Hi Cliff,

    Thanks. I tried that in my custom css file (I use Site Origin CSS it works really well). Unfortunately it didn’t work even when I added !important:

    #tribe-community-events #ticket_form_table,
    #tribe-community-events .ticket_list_container {
    display: none !important;
    }

    Is there something I’m missing?

    Thanks,
    Mat

    #1097692
    Cliff
    Member

    I created an account on your site so I could test out your specific Community Events form.

    I’m guessing something with the CSS selectors changed since one of our recent updates.

    Please try this new CSS (disregard CSS from my previous reply):

    #tribe-community-events #tribetickets {
    display: none;
    }
    #1098854
    Matthew
    Participant

    Awesome, worked nicely, thanks Cliff!

    #1099105
    Cliff
    Member

    Thanks! Glad to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Hide tickets section on submit an event form’ is closed to new replies.