Show only weekdays in calendar

Home Forums Calendar Products Community Events Show only weekdays in calendar

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1133696
    Thomas Graunke
    Participant

    Is this possible without too much hacking? Would love to only show weekdays as we never have weekends.

    #1133832
    Geoff B.
    Member

    Good evening Thomas and welcome back!

    Thank you for reaching out to us.

    I would love to help you with this topic.

    Is this possible without too much hacking? Would love to only show weekdays as we never have weekends.

    The short answer is yes. But it depends on what view you are interested in. Could you expand on that ?

    The easiest view to accomplish this in is the week view. Via Events -> Settings -> Display (Hide weekends on Week View).

    Best regards,

    Geoff B.

    #1134485
    Thomas Graunke
    Participant

    Is it this easy to do in Month view? I’d like month view to only show weekdays.

    #1135330
    Geoff B.
    Member

    Good evening Thomas,

    Thank you for writing back.

    Is it this easy to do in Month view? I’d like month view to only show weekdays.

    I guess some simple CSS should cut it. Try the following:

    .tribe-events-month #tribe-events-saturday, .tribe-events-month #tribe-events-sunday {display:none;}

    .tribe-events-month .tribe-events-calendar tbody tr td+td+td+td+td+td {display:none;}

    Let me know if that helps.

    Have a great day!

    Geoff B.

     

    #1136525
    Thomas Graunke
    Participant

    Hey there, this code snippet didn’t work, even tried to add !important. You can see the calendar
    at tomisalwaysright.com/calendar. Please advise.

    #1136972
    Geoff B.
    Member

    Dear Thomas,

    I am sorry this did not work for you.

    I just retested those rules and it should work properly.

    With that in mind, I went on your site and looked at the CSS.

    I believe that something went wrong in the copy paste of those 2 rules:

    • .tribe-events-month #tribe-events-saturday was missing a space and shows as .tribe-events-month#tribe-events-saturday in your CSS rules
    • I cannot find the
      .tribe-events-month .tribe-events-calendar tbody tr td+td+td+td+td+td rule on your site. There might be a chance that is also due to copy-paste

    Would you mind double-checking your CSS file to make sure it is exactly as in the snippets above ?

    Best regards,

    Geoff B.

    #1136976
    Thomas Graunke
    Participant

    User error on my part. It works now! Thank you so much.

    #1137208
    Geoff B.
    Member

    Good morning Thomas,

    I’m super stoked this worked for you.

    You are welcome back on our support forums any time 🙂

    For now, I am going to close this thread.

    Have a great weekend!

    Geoff B.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Show only weekdays in calendar’ is closed to new replies.