Remove sidebar from accomodation type

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #921863
    maryam wakili


    I would like to remove the side bar from the accommodation type page/posts
    or insert my own content (buttons or maps or text) into the side bar. I checked the widget area for a way to edit the sidebar but there isn’t a sidebar panel available with the theme.

    How do I remove the side bar completely or add my own content to it I would prefer to keep it if possible.

    J. Davis

    Hi Maryam,

    There is no sidebar used on the single page of accommodation type. It is styled in the way that booking form is pinned as a column. In order to unpin the form you should install child theme and activate. Then add the linse below:

    remove_action( 'mphb_render_single_room_type_metas', 'booklium_render_single_room_form_wrapper_open', 45 );
    remove_action( 'mphb_render_single_room_type_metas', 'booklium_render_single_room_form_wrapper_close', 55 );

    Then you will need to add the style below to style.css file fo the child theme in order to adjust the width of the page on the desktop screen:

    @media (min-width: 1280px) {
      body.single .site-main > .type-mphb_room_type .entry-content {
        padding: 0 15% !important;

    In case you need our assistance with this customization you may get Extended Support service

    best regards,
    J. Davis

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