Jump to content
Graham Quince

Hiding columns in the calendar

Recommended Posts

Here's a cute bit of CSS I was asked for to hide the Saturday and Sunday columns in the new look Calendar widget.  It's not really worth a whole tutorial, but it uses nth-child as the individual table cells don't have class names

<style>
  div[data-content-uuid="uuid of the widget"] .frogui_components_calendarweekview th:nth-child(7),
  div[data-content-uuid="uuid of the widget"] .frogui_components_calendarweekview th:nth-child(8),  
  div[data-content-uuid="uuid of the widget"] .frogui_components_calendarweekview td:nth-child(7),  
  div[data-content-uuid="uuid of the widget"] .frogui_components_calendarweekview td:nth-child(8) {
      display:none;
  }
</style>

 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...