Skip to main content
Nintex Community Menu Bar
Question

How to remove hour labels from Calendar component?

  • Jul 9, 2024 7:37 PM UTC
  • 9 replies
  • 33 views
  • Translate All

Forum|alt.badge.img+8

Feel a little guilty posting this here - as I know it is just a simple CSS question… but I’d like to remove the hour labels from the left side of my week view calendar. 

We aren’t using the calendar to show actual times things are happening - just to show that things are happening for some portion of the day. 

What do I need to do with the CSS to just remove the hour labels? 

Thank you Skuiders!

This topic has been closed for replies.

9 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 9, 2024 8:00 PM UTC

Kaede.  Here are two CSS statements you can add to your page: 

/* hide the hour label */ td.nx-cal-week-hour-label { display: none; } /* set the row to 0 pixels wide */ th.nx-cal-week-corner { width: 0; }
Translate

Forum|alt.badge.img+8

Thanks, Rob!!

Translate

Forum|alt.badge.img+8

Things get kind of funky when I do that. I can’t put events in the Friday slot and the drag and drop gets generally confused. 

Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 9, 2024 8:00 PM UTC

Well FOO. I’m sorry.  It looks like a simple CSS hack will not suffice. What you are trying to do doesn’t look like it is easily feasible. 

Translate

Forum|alt.badge.img+8

what about just changing the text to white so it doesn’t show up?

Translate

Forum|alt.badge.img+8

I did it!! yesss!

Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 9, 2024 8:00 PM UTC

Good for you… 

Translate

Forum|alt.badge.img+8

🙂

What about removing the hour picker dropdown?


Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 9, 2024 8:00 PM UTC

I think you should be able to find those divs and overwrite thier css with “Display:none;”   But as we saw before,  that isn’t always reliable… 

Translate