WP Booking Calendar – style width and height of calendar
In WP Booking Calendar, the calendar when displayed in a widget has a fixed size of 284px using inline css which makes it impossible to override in an external or internal css style.
However it is possible to override this by additional options in the shortcode. This is from the comments in the source code:
[booking type=56 form_type='standard' nummonths=4 options='{calendar months_num_in_row=2 width=568px cell_height=30px}']
In the options the width of the table can be given, also in % like 100% for example if you want the calendar to fill the surroinding container.
Leave a Reply
Want to join the discussion?Feel free to contribute!