Blocking same day bookings – custom css

This topic contains 7 replies, has 2 voices, and was last updated by   J. Davis 2 days, 16 hours ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #904231

    Judy
    Participant

    Hi, I came across a post in this forum where you recommended to use the custom css .mphb-selectable-date.datepick-today {
    pointer-events: none;
    }

    to block same day bookings.

    I have added this custom css to the customizer and found it only works on the Availability Search Calendar [mphb_availability_search]

    It does not work on the Availability Calendar at all.
    [mphb_availability_calendar]

    Just wondering if you have custom css that will also work on the Availability Calendar?

    Thank you in advance.

    #904840

    J. Davis
    Keymaster

    Hi Judy,

    Thank you for your question. Could you provide a link to your site or specify to help you with CSS?

    best regards,
    J. Davis

    #905307

    Judy
    Participant
    This reply has been marked as private.
    #907430

    J. Davis
    Keymaster

    Hi Jusy,

    Thank you you for provided link. Could you specify the page where I can find availability calendar? Thanks.

    #907744

    Judy
    Participant
    This reply has been marked as private.
    #908539

    J. Davis
    Keymaster

    Hi Judy,

    Thank you for provided URL. Could you try to apply the style below:

    .datepick-popup .datepick-month table tbody tr td span.mphb-date-cell.datepick-today.datepick-highlight {
        color: #77818c !important;
        text-decoration: none !important;
        font-weight: initial;
    }

    Let me know if it is helpful.

    best regards,
    J. Davis

    #908966

    Judy
    Participant

    Thank you for replying so quickly.

    The colour is showing an error when the css is added to the customiser, see screenshot https://drive.google.com/file/d/16tZWpTw_R6iAuTcN0dkH9ynU050lIRX1/view

    Thank you for your help again.

    Kind regards.
    Judy

    #909032

    J. Davis
    Keymaster

    Hi Judy,

    I’m sorry I missed # sign. I’ve updated the code in a reply above

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.