Hide Weekend Days from Month View (4.0)

Home Forums Calendar Products Events Calendar PRO Hide Weekend Days from Month View (4.0)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1035177
    Lars
    Participant

    Hi,

    With updating to 4.0 we have lost support for hiding “Weekend Days” in month view on our site.

    Plesse refer to this previous solved thread regarding same issue in 3.X:
    https://theeventscalendar.com/support/forums/topic/hide-weekend-days-from-month-view/

    What is the tricks to hide both “Saturday” and “Sunday” columns completely making more width for Monday-Friday?

    #1035784
    Geoff
    Member

    Hi Lars!

    This seems to do the trick:

    https://gist.github.com/geoffgraham/3557f5eea6b411d3a615

    Let me know if it helps for you as well. 🙂

    Thanks!
    Geoff

    #1035788
    Lars
    Participant

    Hi,

    Thanks! Actually just this part below with:

    .tribe-events-calendar tr td:nth-child(7) changed to .tribe-events-calendar tr td:nth-child(6) works:

    /* Hide Weekends the Events Calendar Monday First Day of Week */
    .tribe-events-calendar th#tribe-events-sunday,
    .tribe-events-calendar th#tribe-events-saturday,
    .tribe-events-calendar tr td:nth-child(6),
    .tribe-events-calendar tr td:last-child {
    	display: none;
    }
    • This reply was modified 8 years, 5 months ago by Lars.
    #1035791
    Geoff
    Member

    Rock on, glad this helped! Thanks for reaching out. 🙂

    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Hide Weekend Days from Month View (4.0)’ is closed to new replies.