Fixed: Setting Label Title, Slider Amenities Padding, and Filter Button Width

This commit is contained in:
amit sharma
2026-10-27 18:09:00 +05:30
parent dd8222ff4c
commit cdc2e24950
4 changed files with 26 additions and 16 deletions

View File

@@ -166,7 +166,7 @@ class AdminHotelGeneralSettingsController extends ModuleAdminController
'hint' => $this->l('Enable to display hotels list on the contact us page.'),
),
'WK_MAX_AMENITIES_ROOM_SEARCH' => array(
'title' => $this->l('Maximum featured amenities in room search'),
'title' => $this->l('Max featured amenities in room search'),
'hint' => $this->l('Maximum number of featured amenities to display for each room type on the front office room search page.'),
'desc' => $this->l('Set to 0 to display all featured amenities.'),
'type' => 'text',
@@ -175,7 +175,7 @@ class AdminHotelGeneralSettingsController extends ModuleAdminController
'default' => '0',
),
'WK_MAX_FEATURES_ROOM_SEARCH' => array(
'title' => $this->l('Maximum featured features in room search'),
'title' => $this->l('Max Featured room type features on room search page'),
'hint' => $this->l('Maximum number of featured features to display for each room type on the front office room search page.'),
'desc' => $this->l('Set to 0 to display all featured features.'),
'type' => 'text',
@@ -184,7 +184,7 @@ class AdminHotelGeneralSettingsController extends ModuleAdminController
'default' => '0',
),
'WK_MAX_FEATURES_CHECKOUT' => array(
'title' => $this->l('Maximum featured features in checkout'),
'title' => $this->l('Max Featured room type features on Checkout page'),
'hint' => $this->l('Maximum number of featured features to display for each room type on the front office checkout page.'),
'desc' => $this->l('Set to 0 to display all featured features.'),
'type' => 'text',
@@ -193,8 +193,8 @@ class AdminHotelGeneralSettingsController extends ModuleAdminController
'default' => '0',
),
'WK_MAX_ROOM_TYPE_FEATURE_VALUES' => array(
'title' => $this->l('Maximum room type feature values per featured feature'),
'hint' => $this->l('Maximum number of room type feature values to display for each featured feature on the front office room search and order pages. For example, if the featured feature Bed Type has the values Single, Double and Queen and this is set to 2, only "Single, Double" is displayed.'),
'title' => $this->l('Max. display values for room type Featured features'),
'hint' => $this->l('Maximum number of room type feature values to display for each featured feature in room search results and orders. For example, if the featured feature Bed Type has the values Single, Double, and Queen, and this setting is set to 2, only Single, Double will be displayed.'),
'desc' => $this->l('Set to 0 to display all values of each featured feature.'),
'type' => 'text',
'cast' => 'intval',

View File

@@ -103,7 +103,7 @@
{/block}
</div>
{block name='room_types_filters_mobile_apply'}
<div class="mf_footer"><button type="button" class="btn button button-medium mf_apply"><span>{l s='Apply' mod='wkhotelfilterblock'}</span></button></div>
<div class="mf_footer"><a href="javascript:void(0);" class="btn btn-default button button-medium pull-right mf_apply"><span>{l s='Apply' mod='wkhotelfilterblock'}</span></a></div>
{/block}
</div>
{block name='room_types_filters_js_vars'}

View File

@@ -320,7 +320,7 @@ a.htlRoomTypeBookNow:hover {
/* no line right under the room name */
.htlRoomTypeNameText + .htlRoomCardMeta {
border-top: 0;
padding-top: 0;
padding-top: 12px;
}
.htlRoomCardFeatured .htlRoomFeatureMore {

View File

@@ -727,16 +727,26 @@ img.rm_amen
background: #fff;
}
#filter_results .mf_footer .mf_apply span {
padding: 0;
font-size: 14px;
padding: 11px;
font-weight: 600;
color: #FFFFFF;
text-transform: uppercase;
text-align: center;
}
#filter_results .mf_footer .mf_apply {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 48px;
font-size: 17px;
color: #fff;
font-weight: 700;
background-color: #1292FF;
box-shadow: 0 0px 20px 0 rgba(0, 0, 0, 0.34);
border-radius: 2px;
padding: 0px 50px;
}
}
@media (max-width: 467px) {
#filter_results .mf_footer .mf_apply {
float: none !important;
display: block;
width: 100%;
padding: 0;
text-align: center;
}
}