Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Availability calendar – How to enlarge it?
- This topic has 4 replies, 2 voices, and was last updated 4 years ago by Andre Flores.
- AuthorPosts
- November 17, 2020 at 6:10 pm #1031403Zvonimir MatutinovicParticipant
Hi,
I want to style availability calendar. When I say stile it I mean enlarge it so it fits my page better.
I am currently using Astra theme.
Thank you
November 19, 2020 at 8:35 am #1032198Andre FloresModeratorHello Zvonimir,
You may perform changes to the availability calendar via custom CSS, e.g. add the following code under Appearance ->Customize ->Additional CSS:
.single-room-calendar-wrapper .mphb-calendar .datepick-month { width: 300px !important; }
Change 300px to any desired value to make months bigger.
Regards,
AndreNovember 19, 2020 at 4:14 pm #1032540Zvonimir MatutinovicParticipantHi Andre, thanks for this but it didn’t help. Calendar remains the same.
November 19, 2020 at 8:54 pm #1032653Zvonimir MatutinovicParticipantHi,
I adjusted your code to following:
.mphb-calendar .datepick, .datepick-popup .datepick {
width: 1130px !important;
}And managed to change calendar size.
Ofc 1130px was according to my needs. Anyone else who will use this could should use size that fits his need.
Cheers
November 24, 2020 at 10:44 am #1034404Andre FloresModeratorHello Zvonimir,
Thank you for sharing your code, it is much appreciated. I hope it will be helpful to other users as well.
Regards,
Andre - AuthorPosts
- You must be logged in to reply to this topic.