Skip to main content
Nintex Community Menu Bar
Question

How to remove hour labels from Calendar component?

  • July 9, 2024
  • 9 replies
  • 12 views

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
  • July 9, 2024

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; }

Forum|alt.badge.img+8

Thanks, Rob!!


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. 


Forum|alt.badge.img+17
  • Nintex Employee
  • July 9, 2024

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. 


Forum|alt.badge.img+8

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


Forum|alt.badge.img+8

I did it!! yesss!


Forum|alt.badge.img+17
  • Nintex Employee
  • July 9, 2024

Good for you… 


Forum|alt.badge.img+8

🙂

What about removing the hour picker dropdown?



Forum|alt.badge.img+17
  • Nintex Employee
  • July 9, 2024

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…