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, 9 months 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)

The forum ‘Request A Feature’ is closed to new topics and replies.