Jump to content
  • 0

Calendar display week days only


Paul160

Question

7 answers to this question

Recommended Posts

  • 1

Hi Paul,

You can use try to add this CSS code snippet to hide Sunday and Saturday:

 

<style>
article section.cbCalendarReport {
grid-template-columns: repeat(5, 1fr);}
section.cbCalendarReport > div:nth-child(7n+1), section.cbCalendarReport > div:nth-child(7n+7) {
display: none!important;
}
</style>

Let me know if that works

Link to comment
Share on other sites

  • 0
<style>
article section.cbCalendarReport {
grid-template-columns: repeat(5, 1fr);}
section.cbCalendarReport > div:nth-child(7n+1), section.cbCalendarReport > div:nth-child(7n+7) {
display: none!important;
}

</style>
<style>
section.cbCalendarReport > div:nth-child(2) {
order: 7;
}
section.cbCalendarReport > div:nth-child(3) {
order: 6;
}
section.cbCalendarReport > div:nth-child(4) {
order: 3;
}
section.cbCalendarReport > div:nth-child(5) {
order: 4;
}
section.cbCalendarReport > div:nth-child(6) {
order: 5;
}


section.cbCalendarReport > div:nth-child(9) {
order: 14;
}
section.cbCalendarReport > div:nth-child(10) {
order: 13;
}
section.cbCalendarReport > div:nth-child(11) {
order: 10;
}
section.cbCalendarReport > div:nth-child(12) {
order: 11;
}
section.cbCalendarReport > div:nth-child(13) {
order: 12;
}


section.cbCalendarReport > div:nth-child(16) {
order: 21;
}
section.cbCalendarReport > div:nth-child(17) {
order: 20;
}
section.cbCalendarReport > div:nth-child(18) {
order: 17;
}
section.cbCalendarReport > div:nth-child(19) {
order: 18;
}
section.cbCalendarReport > div:nth-child(20) {
order: 19;
}


section.cbCalendarReport > div:nth-child(23) {
order: 28;
}
section.cbCalendarReport > div:nth-child(24) {
order: 27;
}
section.cbCalendarReport > div:nth-child(25) {
order: 24;
}
section.cbCalendarReport > div:nth-child(26) {
order: 25;
}
section.cbCalendarReport > div:nth-child(27) {
order: 26;
}

section.cbCalendarReport > div:nth-child(30) {
order: 35;
}
section.cbCalendarReport > div:nth-child(31) {
order: 34;
}
section.cbCalendarReport > div:nth-child(32) {
order: 31;
}
section.cbCalendarReport > div:nth-child(33) {
order: 32;
}
section.cbCalendarReport > div:nth-child(34) {
order: 33;
}

section.cbCalendarReport > div:nth-child(37) {
order: 42;
}
section.cbCalendarReport > div:nth-child(38) {
order: 41;
}
section.cbCalendarReport > div:nth-child(39) {
order: 38;
}
section.cbCalendarReport > div:nth-child(40) {
order: 39;
}
section.cbCalendarReport > div:nth-child(41) {
order: 40;
}



</style>

Hi Paul,

You can test this CSS code

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   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.

Loading...
×
×
  • Create New...