Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Calendar display is wonky
- This topic has 10 replies, 4 voices, and was last updated 5 years, 6 months ago by Graham Strong.
- AuthorPosts
- April 9, 2019 at 12:56 am #792427Vernon SongParticipant
Hi there,
When using the shortcode:
[mphb_availability_calendar id=”5469″ monthstoshow=”2″]it displays like this:
How do I fix it so that the months are aligned, and the year is more subtle?
i.e. the calendars are on the same horizontal line?April 10, 2019 at 12:23 pm #793117J. DavisKeymasterHi Vernon,
You may try to apply the style below at Appearance > Customize> Additional CSS (or style.css file if you use a Child Theme):
.mphb-calendar .datepick-month-year{ width:48%; }
best regards,
J. DavisApril 10, 2019 at 11:00 pm #793402Vernon SongParticipantThanks,
Have implemented the css but it changes nothing.
You can view the implementation here:
http://workphlow.com.au/asg/caltest
Anymore suggestions?
April 12, 2019 at 11:10 am #793920J. DavisKeymasterHi Vernon,
Thank you for provided example. It required more styles:
.mphb-calendar .datepick-month-year { min-width: 50% !important; padding: 0 !important; float: left; }
best regards,
J. DavisApril 12, 2019 at 5:29 pm #794123Chrissy RaudonisParticipantI’ve got the same issue. I added the css and it fixed it in Chrome but now it looks worse in Firefox:
April 18, 2019 at 11:14 am #796053J. DavisKeymasterHi Chrissy,
Could you provide a link where we can test the issue?
You can also try to clear the cache in your firefox browser and check it again.best regards,
J. DavisApril 18, 2019 at 3:56 pm #796201Chrissy RaudonisParticipantClearing the cache doesn’t do it:
Click “Book Now” or scroll to bottom. It’s an issue in both Edge and Firefox on my computer, unless I zoom out.
April 19, 2019 at 3:32 pm #796579J. DavisKeymasterHi Chrissy,
I’ve checked your site and calendars look properly either in firefox and chrome browsers. I’d just recommend to add some padding for
datepick-month-year
class.best regards,
J. DavisApril 19, 2019 at 8:37 pm #796683Chrissy RaudonisParticipantI ended up doing a 2 x 2 cal. and that solved the issue on my screen. I’m guessing it had to do with aspect ratio. You’re right – it did look better with padding. Thanks!
April 23, 2019 at 3:58 am #797441Vernon SongParticipantAwesome, that worked – Thanks!
May 22, 2019 at 9:29 pm #807759Graham StrongParticipantHi — I’m having the same issues. I’ve tried the same fixes as mentioned above and tried different settings for the padding, but nothing seems to work. Here is the page:
Any insights you could provide would be greatly appreciated!
Thanks!
~Graham
- AuthorPosts
- You must be logged in to reply to this topic.