Category: Web Design
-
How to stop text taking up more than one line – CSS
Hey everyone, Just a quick post on how to stop text taking up more than one line using only CSS: .truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } You can check it out using this fiddle: http://jsfiddle.net/wb5m7/ There’s also a great StackOverflow post: http://stackoverflow.com/a/572302/522859 //jsfiddle.net/wb5m7/embed/html,css,result/
-
Change Current Day Color – jQuery FullCalendar
Hey everyone, Just a quick post on how to change a few of the styles in FullCalendar. All you need to do is add these after the default styles are loaded: Current Day Background Color .fc-today{ background-color: blue; } Change Calendar Background Color #calendar .fc-content{ background-color: #FFFFFF; font-size: 80%; } Add Box Shadow to Events…