Mobile Scrollable booking history in portrait mode

WordPress Event Management, Calendars & Registration Forums Request A Feature Mobile Scrollable booking history in portrait mode

This topic contains 2 replies, has 2 voices, and was last updated by  Osyrus Kimathi 7 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28866

    I noticed that in portrait mode on mobile phones the booking history chart is cut off due to screen width and you can not scroll to see the rest of the details.

    Osyrus Kimathi
    #28919

    You can achieve this by putting the shortcode within a div element and applying the following CSS rules to that container:

    overflow: auto;
    overflow-y: hidden;
    

    E.g. in your ‘Text’ tab in the editor:

     <div class="booking-history-container">
     [booking_history]
     </div>
    

    And then in your (child) theme’s stylesheet or otherwise via plugin:

     .booking-history-container {
       overflow: auto;
       overflow-y: hidden;
     }
    
    Stephen Harris
    #28923

    Thank you. It worked.

    Osyrus Kimathi
Viewing 3 posts - 1 through 3 (of 3 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.