- Posts: 424
- Thank you received: 11
ajusting price filter slider
- BluepointWebdesign
-
Topic Author
- Offline
Less
More
3 years 1 month ago #355963
by BluepointWebdesign
ajusting price filter slider was created 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.
-- 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
Replied by nicolas on topic ajusting price filter slider
Hi,
What you could try is to change the line:
to:
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.
What you could try is to change the line:
Code:
$cursorWidth='width:'.$filter->filter_options['cursor_width'].'px;';
Code:
$cursorWidth='width: 100%; max-width:'.$filter->filter_options['cursor_width'].'px;';
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