Sorry for asking such a newbie question (this may be a CSS issue), but I am trying to extend the width of the calendar view. It is squashed in my theme (Multiflex-37). the link is: test.bellcreek.org/event. Any help would be greatly appreciated!
Sorry for asking such a newbie question (this may be a CSS issue), but I am trying to extend the width of the calendar view. It is squashed in my theme (Multiflex-37). the link is: test.bellcreek.org/event. Any help would be greatly appreciated!
Comments
Comment #1
JirkaRybka commentedI suggest to try one of the following (add to your theme's style.css file - but I didn't test it!):
Fixed width of columns - all columns the same size:
.main-content .event-calendar td { width: 14%; }Fixed width of table - always fits on page, but single columns better accomodate to contents:
.main-content .event-calendar table { width: 100%; }I'm using the latter on my site ( http://naturista.cz/drupal/?q=event/2007/09/26/month/all/all ), so that it better scales if there's a long-text event in only just one day.
(The
.main-contentselector ensures that the definition only affect the full-page view, not sidebar block - remove it if you want to define both, like I did - but I'm not sure whether such a definition will have the power to override default - see http://www.w3.org/TR/CSS21/cascade.html#cascade for more.)Comment #2
frednwright commentedWorks great! Thank you!
Comment #3
(not verified) commented