From 365e22702e2e582804d466b9ee11185fd4fcd9e8 Mon Sep 17 00:00:00 2001 From: amit sharma Date: Wed, 14 Oct 2026 19:52:05 +0530 Subject: [PATCH] Fixed: design related issue on home page, order page and search page --- .../views/templates/hook/copyRight.tpl | 2 +- .../views/templates/hook/displayCopyRight.tpl | 2 +- .../views/css/WkAboutHotelBlockFront.css | 43 +++++++++++++++++-- .../views/css/WkHotelRoomBlockFront.css | 6 +-- .../views/css/wk-landing-page-search.css | 13 ++---- themes/hotel-reservation-theme/css/global.css | 3 ++ .../blocknewsletter/blocknewsletter.css | 5 --- .../css/order-detail.css | 24 +++++++++++ .../hotel-reservation-theme/css/order-opc.css | 22 +++++++++- themes/hotel-reservation-theme/order-opc.tpl | 2 +- 10 files changed, 97 insertions(+), 25 deletions(-) diff --git a/modules/hotelreservationsystem/views/templates/hook/copyRight.tpl b/modules/hotelreservationsystem/views/templates/hook/copyRight.tpl index 87a990ed1..eb3541799 100644 --- a/modules/hotelreservationsystem/views/templates/hook/copyRight.tpl +++ b/modules/hotelreservationsystem/views/templates/hook/copyRight.tpl @@ -1,4 +1,4 @@ -
+
diff --git a/modules/hotelreservationsystem/views/templates/hook/displayCopyRight.tpl b/modules/hotelreservationsystem/views/templates/hook/displayCopyRight.tpl index 47ddf641d..6ece6dedb 100644 --- a/modules/hotelreservationsystem/views/templates/hook/displayCopyRight.tpl +++ b/modules/hotelreservationsystem/views/templates/hook/displayCopyRight.tpl @@ -1,3 +1,3 @@ -
+

© {$WK_HTL_ESTABLISHMENT_YEAR} - {$currentYear} , {l s='All rights reserved' mod='hotelreservationsystem'}.

\ No newline at end of file diff --git a/modules/wkabouthotelblock/views/css/WkAboutHotelBlockFront.css b/modules/wkabouthotelblock/views/css/WkAboutHotelBlockFront.css index c826c850f..d99418976 100644 --- a/modules/wkabouthotelblock/views/css/WkAboutHotelBlockFront.css +++ b/modules/wkabouthotelblock/views/css/WkAboutHotelBlockFront.css @@ -25,8 +25,8 @@ } @media (max-width: 767px) { .htlInterior-owlCarousel .owl-carousel { - width: calc(100% - 30px); - margin: 0 15px; + width: 100%; + margin: 0; } } .interiorImgWrapper { @@ -104,4 +104,41 @@ font-size: 50px; text-align: center; vertical-align: middle; -} \ No newline at end of file +} + +/* Interior gallery below desktop: one wide image over two smaller ones */ +@media (max-width: 1199px) { + #hotelInteriorBlock .interiorImgWrapper { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 4px; + } + #hotelInteriorBlock .interiorbox { + padding-bottom: 75%; + } + #hotelInteriorBlock .interiorbox:first-child { + grid-column: 1 / -1; + padding-bottom: 56.25%; + } + #hotelInteriorBlock .interiorboxInner { + border: 0; + } + .htlInterior-owlCarousel .owl-stage-outer { + border: 0; + } +} +.htlInterior-owlCarousel .nav-direction-secondary { + width: 36px; + height: 36px; + padding: 0; + display: flex; + align-items: center; + justify-content: center; +} +.htlInterior-owlCarousel .owl-prev { + left: 8px; +} +.htlInterior-owlCarousel .owl-next { + right: 8px; +} + diff --git a/modules/wkhotelroom/views/css/WkHotelRoomBlockFront.css b/modules/wkhotelroom/views/css/WkHotelRoomBlockFront.css index f4f7e069d..12d20c2b7 100644 --- a/modules/wkhotelroom/views/css/WkHotelRoomBlockFront.css +++ b/modules/wkhotelroom/views/css/WkHotelRoomBlockFront.css @@ -52,11 +52,11 @@ } @media (max-width: 530px) { #hotelRoomsBlock .col-md-6 > a img.width-100 { - width: calc(100% - 30px); - margin: 0 15px; + width: 100%; + margin: 0; } .hotelRoomDescContainer{ - padding: 15px; + padding: 15px 0px; } .wk_roomType_price_type{ font-size: 16px; diff --git a/modules/wkroomsearchblock/views/css/wk-landing-page-search.css b/modules/wkroomsearchblock/views/css/wk-landing-page-search.css index 9d66d9ac6..d4ebcab33 100644 --- a/modules/wkroomsearchblock/views/css/wk-landing-page-search.css +++ b/modules/wkroomsearchblock/views/css/wk-landing-page-search.css @@ -65,6 +65,10 @@ max-height: 80vh; overflow-y: auto; } + /* the date picker opens inside this popup, so don't clip it */ + .fancybox-inner:has(#xs_room_search_form) { + overflow: visible !important; + } } .fancy_search_header_xs { margin-top: 25px; @@ -77,15 +81,6 @@ float: left; margin-top: 5px; width: 125px;} -#xs_room_search { - background: #1292FF; - background-image: none; - border-radius: 4px; - font-weight: 600; - text-transform: uppercase;} -#xs_room_search:hover, #xs_room_search:focus { - background: #0f7fe0; - background-image: none;} /* .fancybox-inner #search_hotel_block_form { grid-template-columns: 1fr; } */ \ No newline at end of file diff --git a/themes/hotel-reservation-theme/css/global.css b/themes/hotel-reservation-theme/css/global.css index 539752b50..edce6cae6 100644 --- a/themes/hotel-reservation-theme/css/global.css +++ b/themes/hotel-reservation-theme/css/global.css @@ -9076,6 +9076,9 @@ body .ui-tooltip { padding-top: 30px; padding-bottom: 30px; } + .margin-btm-50 { + margin-bottom: 0px; + } } .home_block_desc_line { border-color: #333333; diff --git a/themes/hotel-reservation-theme/css/modules/blocknewsletter/blocknewsletter.css b/themes/hotel-reservation-theme/css/modules/blocknewsletter/blocknewsletter.css index cc2fbbf9c..e194ac1ca 100644 --- a/themes/hotel-reservation-theme/css/modules/blocknewsletter/blocknewsletter.css +++ b/themes/hotel-reservation-theme/css/modules/blocknewsletter/blocknewsletter.css @@ -177,11 +177,6 @@ .button.button-medium.newsletter-btn { position: relative; padding: 0px 20px; - background: #1292FF; - background-image: none; - border-radius: 4px; - font-weight: 600; - text-transform: uppercase; } .button.button-medium.newsletter-btn:hover, .button.button-medium.newsletter-btn:focus { background: #0f7fe0; diff --git a/themes/hotel-reservation-theme/css/order-detail.css b/themes/hotel-reservation-theme/css/order-detail.css index d0d5dcc34..c3797ffa8 100644 --- a/themes/hotel-reservation-theme/css/order-detail.css +++ b/themes/hotel-reservation-theme/css/order-detail.css @@ -300,12 +300,36 @@ margin-left: -10px; } + .hotel-details .card-header .booking-actions-wrap { + margin-left: -6px; + } + + .hotel-details .card-header .booking-actions-wrap .btn { + margin-left: 6px; + padding-left: 10px; + padding-right: 10px; + font-size: 13px; + } + .product-detail .num-refunded-rooms { display: block; float: none; } } +@media (max-width: 360px) { + .hotel-details .card-header .booking-actions-wrap { + margin-left: -5px; + } + + .hotel-details .card-header .booking-actions-wrap .btn { + margin-left: 5px; + padding-left: 8px; + padding-right: 8px; + font-size: 12px; + } +} + @media (min-width: 768px) and (max-width: 1200px) { .refund_element_details .card-header .booking-actions-wrap .col-xs-12, .service-product-details .card-header .booking-actions-wrap .col-xs-12 { flex-wrap: nowrap; diff --git a/themes/hotel-reservation-theme/css/order-opc.css b/themes/hotel-reservation-theme/css/order-opc.css index 89abe4acf..55ee95e38 100644 --- a/themes/hotel-reservation-theme/css/order-opc.css +++ b/themes/hotel-reservation-theme/css/order-opc.css @@ -557,13 +557,31 @@ width: 50%; } } -@media (max-width: 767px) { +/* Mobile & tablet: show cart total + voucher blocks before the payment block */ +@media (max-width: 991px) { #order-opc #content > .row { display: flex; flex-direction: column; } + #order-opc #content > .row:before, + #order-opc #content > .row:after { + display: none; + } + #order-opc #content > .row > .col-md-8, + #order-opc #content > .row > .col-md-8 > #oprder-opc-accordion { + display: contents; + } + #order-opc #content > .row > .col-md-8 > #oprder-opc-accordion > .card { + order: 0; + margin-left: 15px; + margin-right: 15px; + } #order-opc #content > .row > .col-md-4 { - order: -1; + order: 1; + width: 100%; + } + #order-opc #content > .row > .col-md-8 > #oprder-opc-accordion > #order-payment-block { + order: 2; } } @media (max-width: 480px) { diff --git a/themes/hotel-reservation-theme/order-opc.tpl b/themes/hotel-reservation-theme/order-opc.tpl index 03bc35fd6..5d16a2f55 100644 --- a/themes/hotel-reservation-theme/order-opc.tpl +++ b/themes/hotel-reservation-theme/order-opc.tpl @@ -226,7 +226,7 @@ {include file="$tpl_dir./order-carrier.tpl"}
*} -
+
{block name='order_opc_payment_heading'}