Can I display accommodation types listing in a grid view?

Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Can I display accommodation types listing in a grid view?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1019528
    Ian West
    Participant

    I’m listing accommodation types using mphb_rooms. Can I display results as grid – if so, how? CSS class?

    #1020791
    J. Davis
    Keymaster

    Hi Ian,

    Thanks for your question. You may use the following style:

    @media(min-width:1024px){
    .mphb_sc_rooms-wrapper {
        margin-top: 0 !important;
        display: flex;
        flex-wrap: wrap;
    }
    
    .mphb_sc_rooms-wrapper .mphb-room-type {
        width: 33%;
        padding: 0 0.5em;
        margin-top: 0 !important;
    }
    }

    You may change the width value and add other style attributes to adjust it to your needs.

    Best regards,
    J. Davis

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