Skip to main content

ajusting price filter slider

3 years 1 month ago #355963 by BluepointWebdesign
-- url of the page with the problem -- : 07.bluepoint-concept.nl/feestdagen/kerst
-- HikaShop version -- : 5.0.0
-- Joomla version -- : 4.3.x
-- PHP version -- : 8.1.x

Hi,

We would like to set the width of the price slider in % width. When we adjust the cursor witdh the range is bigger but on mobile it is keeping that width .. so how can we accomplish to get the width in %..
Hope you can help..
See screenshot.

Please Log in or Create an account to join the conversation.

3 years 1 month ago #355966 by nicolas
Hi,

What you could try is to change the line:
Code:
$cursorWidth='width:'.$filter->filter_options['cursor_width'].'px;';
to:
Code:
$cursorWidth='width: 100%; max-width:'.$filter->filter_options['cursor_width'].'px;';
in the file administrator/components/com_hikashop/classes/filter.php
That way, the width of the area would be dynamic but with a maximum of 520px. I think that's something we could change on our end.

Please Log in or Create an account to join the conversation.

Time to create page: 0.050 seconds
Powered by Kunena Forum