Okay
  Public Ticket #2837291
Hide/Remove Employee from filters
Closed

Comments

  •  2
    Miriam started the conversation

    Hello,

    I'd like to hide the "Employee"  filter from the Event Calendar view as we currently only have one staff member.

    Is this possible?

    Thanks,

    Miriam

  • [deleted] replied

    Hi Miriam

    Thank you for reaching out to us.

    You can use this CSS to hide the Employees:

    #el-collapse-content-5690 > div > div:nth-child(4) {    display: none!important;
    }

    Custom code needs to be applied to the page where the booking form is. Depending on what you're using (Gutenberg blocks, or some page builder), adding the CSS or JS can be done in a few different ways. 

    If you need help with adding custom CSS to the page, please take a look at this article.

    If this doesn't work for you we can recommend these services for customization:

    https://codeable.io/?ref=l1TW1

    https://wpkraken.io/?tms-plugins



  •  2
    Miriam replied

    That css didn't work for me the as the div identifier changes every time the calendar view is generated, so on each page refresh.  However as the employee filter is last in list I used this and all works fine:-

    .amelia-app-booking #am-event-calendar-page .am-event-filters__item:last-of-type {
        display: none!important;
    }
    
  • [deleted] replied

    That's great, i am glad to see you were able to find a solutionsmile.png

    If there is anything else we can assist you with please don't hesitate to open a new ticket.

    Have a wonderful day!