Okay
  Public Ticket #1782608
Edit Widget
Closed

Comments

  •  1
    edanib started the conversation

    Goal: Within the open hours, have Saturday listed as BY APPOINTMENT ONLY and have Sunday listed as CLOSED.

    Alternative: Delete Sunday altogether. I tried to remove Sunday from the CSS within the Open Hours widget and got this error - "Scrape nonce check failed. Please try again."

    I'm happy with either the goal or the alternative.

  •  535
    Barry replied

    Hi there,

    Both solutions are possible with some custom CSS. Please choose the one that you prefer and add the code to the textarea under Appearance -> Customize -> Additional CSS:

    Goal:

    .opening-hours ul li { position: relative; }
    .opening-hours ul li:nth-child(6) .right { text-indent: -9999px; width: 155px; }
    .opening-hours ul li:nth-child(6) .right::before { position: absolute; content: "BY APPOINTMENT ONLY"; display: block; text-indent: 0px; }

    Alternative:

    .opening-hours ul li:last-of-type { display: none; }

    Best regards,
    Barry

  •  1
    edanib replied

    Resolved. Thanks!

  •  535
    Barry replied

    Great! You're welcome.

    If you have any questions feel free to ask.

    Best regards,
    Barry