• Resolved littlemy68

    (@littlemy68)


    Hello Joseph,

    I have a very strange behavior on my calendar page: I have 3 different categories and once I select a specific one (Kinomichi), the only event in this category shifts to Monday when it is scheduled on Tuesdays (see screenshots)

    Has anyone ever encountered this type of issue?

    Thank you for your help

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    This is being caused by some custom styles you have inline. The styles are these:

    h2#mc_head_my-calendar span, div.mc-date-container, th.day-heading.fri, td.no-events, .date-wrapper, .mc-title > span.event-time, .mc-events-link, span.event-time { display: none; }

    The specific part that’s relevant is highlighted: td.no-events is applied on any cell that doesn’t have events, and that cell is hidden. When you switch to only displaying Kinomichi events, the other three cells are hidden, so the Tuesday cell slides over to the left to take up that space. The corresponding th headers are *not* hidden, however, so it’s no longer aligned to it’s parent.

    I’d recommend against hiding the empty cells; it can have some unpredictable behaviors.

    Thread Starter littlemy68

    (@littlemy68)

    Thank you for your prompt reply!!

    I have remove the following part:

    td.no-events { display: none; }

    Therefore my Kinomichi event stays when selecting category ??

    What element(s) or unique selector should I target to not display the entire Friday column?

    Plugin Author Joe Dolson

    (@joedolson)

    th.fri,td.ven { display: none; }

    I can see that’s a bit unexpected, because the selector on the td is translated and the one on the th is not. That’s probably a bug I should address…

    Thread Starter littlemy68

    (@littlemy68)

    Thanks Joe.

    Problem solved!

    • This reply was modified 9 months, 3 weeks ago by littlemy68.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Event changes day on category selection’ is closed to new replies.