From 61962bb473beef797505f839983ebcfd4f65bd6d Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Wed, 17 Jul 2024 17:43:56 +0530 Subject: [PATCH] applied the changes to the hotel rating dispaly on the front office --- .../hotel-reservation-theme/css/product.css | 20 +++++++++++-------- themes/hotel-reservation-theme/product.tpl | 6 +++--- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/themes/hotel-reservation-theme/css/product.css b/themes/hotel-reservation-theme/css/product.css index b6d9457ba..745a8e824 100644 --- a/themes/hotel-reservation-theme/css/product.css +++ b/themes/hotel-reservation-theme/css/product.css @@ -1213,9 +1213,14 @@ Quick View Styles margin-bottom: 10px;} .hotel_name_block { +display: flex; +margin-bottom: 10px; +} +.hotel_name_block h1 { font-size: 22px; color: #000000; - margin-bottom: 8px;} + margin: 0; +} .room_hotel_name_block { padding-bottom: 12px;} @@ -1718,14 +1723,13 @@ ul.service-product-nav > li:hover { #room_info_hotel_images .skeleton-loading-wrap .loading-container-box { height: 200px; } - .hotel_name_block > span { - display: flex; - } #hotel_rating { - font-size: 12px; display: inline-flex; color: #3e3d3d; - float: inline-end; - padding-top: 4px; - padding-left: 4px; + font-size: 12px; + margin-left: 10px; + margin-top: 7px; + } + #hotel_rating .icon-star { + margin-right: 1px; } \ No newline at end of file diff --git a/themes/hotel-reservation-theme/product.tpl b/themes/hotel-reservation-theme/product.tpl index 2b02d90b2..0e1c3f47b 100644 --- a/themes/hotel-reservation-theme/product.tpl +++ b/themes/hotel-reservation-theme/product.tpl @@ -68,11 +68,11 @@
- {$product->name} +

{$product->name} {* Block for booking products *} {if isset($id_hotel) && $id_hotel} - {$hotel_name}{/if} - {if isset($hotel_rating) && $hotel_rating}{for $i=0; $i < $hotel_rating; $i++}{/for}{/if} - +

+ {if isset($hotel_rating) && $hotel_rating}
{for $i=0; $i < $hotel_rating; $i++}{/for}
{/if} {hook h='displayRoomTypeDetailRoomTypeNameBlock' id_product=$product->id}
{hook h='displayRoomTypeDetailRoomTypeNameAfter' id_product=$product->id}