Adjust the availability search form widget calendar size

Free and Premium WordPress Plugins & Themes Forums WordPress Themes Aquentro Adjust the availability search form widget calendar size

  • This topic has 14 replies, 2 voices, and was last updated 3 years ago by Andre Flores.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1064244
    C
    Participant

    Hello just wondering how can I make the Aquentro mphb_availability widget and the Callander that pops up for it smaller as it takes up too much room.

    #1064733
    Andre Flores
    Moderator

    Hello there,

    This can be adjusted via custom CSS, e.g. by adding the following code under Appearance ->Customize ->Additional CSS:

    @media (min-width: 1200px) {
    .homepage-widgets {
    	width: 100%;
    }
    .homepage-widget-area .widget {
    	padding: 1.875em;
    }
    .mphb-calendar .datepick, .datepick-popup .datepick {
    	width: 435px !important;
    }
    .mphb-calendar .datepick-month, .datepick-popup .datepick-month {
    	height: 261px;
    }}

    Decrease all the values in the above code to the desired ones to make the widget and pop-up calendar smaller.

    Regards,
    Andre

    #1066169
    C
    Participant

    Thanks is there a way to make the height of the widget smaller as its a bit too tall, we would like it to look slimmer.

    Also on the bookings cnformation page,

    Is there a way to hide the nightly price for the selected dates, so it doesn’t list each date and price when you expand the price breakdown in the booking confirmation page?

    Regards,
    C

    #1066175
    C
    Participant

    Ah, I see the padding if for the height.

    #1066186
    C
    Participant
    This reply has been marked as private.
    #1066206
    C
    Participant
    This reply has been marked as private.
    #1066547
    C
    Participant
    This reply has been marked as private.
    #1067259
    C
    Participant
    This reply has been marked as private.
    #1067578
    Andre Flores
    Moderator
    This reply has been marked as private.
    #1071220
    C
    Participant

    Thanks, Andre, is there a way to display what the season’s fees are for the booked dates in the booking confirmation page table?

    #1071575
    Andre Flores
    Moderator

    Hello there,

    Fees are displayed in the price breakdown on the Checkout page by default, as well as taxes and services. Is this what you are referring to?

    Regards,
    Andre

    #1071725
    C
    Participant
    This reply has been marked as private.
    #1072080
    Andre Flores
    Moderator
    This reply has been marked as private.
    #1072174
    C
    Participant
    This reply has been marked as private.
    #1072632
    Andre Flores
    Moderator

    Hello there,

    Yes, the code is valid and it hides Dates from the price breakdown. You may try overriding price breakdown function in your theme functions.php file. The function itself is located in the booking-view.php file under /wp-content/plugins/motopress-hotel-booking/includes/views/ directory, it starts with public static function generatePriceBreakdownArray

    Regards,
    Andre

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.