Target page-id for community/add

Home Forums Calendar Products Community Events Target page-id for community/add

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1025367
    Julie Duran
    Participant

    I’ve added HTML (a button) at the bottom of each calendar page using the The Events Calendar Settings DISPLAY TAB. However the button says “Submit Event” to take the visitor to the community/add page to submit their event.

    I don’t want that “Submit Event” button to appear at the bottom of the submission page. It is confusing for our visitors.
    What is the page-id for the community/add page? If none, how do I target that section for that page so I can apply CSS display:none for this code?

    Please contribute your event to our WELS Community Events calendar.

    140x45-WRCbuttons-CalendarSubmitEvent

    #1025382
    Brian
    Member

    Hi,

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

    The Community Events are not pages so they do not have ids with numbers.

    They did have unique body classes though.

    This body class is on the form page:

    tribe_community_edit

    This is the body class for the List of Events:

    tribe_community_list

    That should enable you to target css just on those areas.

    Let me know how that works out.

    Thanks

    #1025401
    Julie Duran
    Participant

    Brian, thanks for the lead. The following code worked well for me!

    .tribe_community_edit .tribe-events-after-html > p {
    display:none;
    }
    

    Hope this helps others. I’m guessing you could do the same with the “before-html” message as well if you want to add instructions at the top of the form but not at the top of the calendar views.

    Good stuff!

    #1025403
    Julie Duran
    Participant

    Here’s how I displayed the before-html content above the form page but not above the calendar views… with this CSS:

    .tribe_community_list .tribe-events-before-html > p {
    display:none;
    }
    #1025498
    Brian
    Member

    Great, thanks for sharing.

    I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket.

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Target page-id for community/add’ is closed to new replies.