• Resolved 00lessio

    (@00lessio)


    Hi, I would like to show the list of rooms in a list with horizontal format, for the search module there is a setting to change this type of display (vertical or horizontal), but for the room list module there is no .
    Is there a way to do this? by modifying the template files or more simply with the css?
    I found these (Link) but they are not working on my site:
    functions.php

    add_filter ('mphb_sc_search_results_room_top','theme_wrap_image_sc_search_results_room_top'); 

    function theme_wrap_image_sc_search_results_room_top(){
    echo '<div class="theme-room-type-images-wrapper">';
    }

    add_filter ('mphb_sc_search_results_before_info','theme_wrap_info_sc_search_results_before_info');

    function theme_wrap_info_sc_search_results_before_info(){
    echo '</div>';
    echo '<div class="theme-room-type-info-wrapper">';
    }

    add_filter ('mphb_sc_search_results_after_info','theme_wrap_info_sc_search_results_after_info');

    function theme_wrap_info_sc_search_results_after_info(){
    echo '</div>';
    }

    style.css

    @media(min-width:1024px){ 

    .mphb_sc_search_results-wrapper .mphb-room-type {
    display:flex;
    direzione flessibile: riga;
    }
    .mphb_sc_search_results-wrapper .mphb-room-type > div{
    larghezza:50%;
    }

    .mphb_sc_search_results-wrapper .mphb-room-type .theme-room-type-images-wrapper{
    padding-right:1.5rem;
    }
    }

    It probably doesn’t work because they aren’t the right hooks, but the result I would like to achieve is almost the same.
    I use Divi, I’m surprised that in the editor there isn’t the possibility to change the default view to a much more common and practical horizontal view for this type of list

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support eugenewhite

    (@eugenewhite)

    Hello there! 

    Thank you for your question! 

    I sure get what you’re trying to complete, but I would like to highlight a few points about our Hotel Booking plugin. 

    First of all, I would like to inform you that our plugin doesn’t provide any default styles or design, it inherits everything from the active theme. That’s exactly why it may be necessary to apply some custom styles to make all plugin sections and forms look beautiful on the third-party theme that hasn’t been designed for the plugin, like Divi. In other words, the way all the plugin sections and forms look on a website depends on an active theme, not the plugin itself. 

    As for your question, I’m afraid we don’t provide such customizations to our customers, and we don’t currently have any information that could be helpful with what needs to be done, unfortunately. 

    Plugin Support eugenewhite

    (@eugenewhite)

    Hello there! 

    I hope you are doing well. 

    Since I haven’t received a response from you, I will consider this topic resolved. 

    If you have any other questions or need assistance with something else, please feel free to submit a new inquiry.

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