Okay
  Public Ticket #3019330
Prevent click on event
Closed

Comments

  • speakdigital started the conversation

    Is it possible to prevent users from clicking on events / days?

    IE i do not want any sumbit event function or any ability to click the event to open, share etc. I just want a nice visible calendar with no user interaction.

    Also is it possible on the month view to make less height on the grid boxes? We will only ever have two bookings maximum.

  •  894
    Zhivko replied

    The easiest way would be via css.

    In Dashboard -> STEC -> Fonts & Colors -> Custom style tab place following:

    .stec-layout-month {
        position: relative;
        z-index: -1;
    }

    To disable the submit form go to Dashboard -> General -> Event Submission tab and set "Display event submission form in Calendar" to "No".


    Stachethemes Developer

  • speakdigital replied

    Thanks! that works perfectly.

    Any thoughts on if I can change the height (as shown in the screenshot)?


    Thanks again

  •  894
    Zhivko replied

    Generally speaking at the moment the height is fixed at least until the next version of the calendar.

    There's a little hacky solution to this via css:

    .stec-layout-month-daycell { height: 100px; }
    .stec-layout-month-daycell-events { bottom: -52px; }

    but this would be a problem if you have more than 2 events in single cell.


    Stachethemes Developer