ajusting price filter slider

  • Posts: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
1 year 1 month ago #355963

-- 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.

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 1 month ago #355966

Hi,

What you could try is to change the line:

$cursorWidth='width:'.$filter->filter_options['cursor_width'].'px;';
to:
$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.062 seconds
Powered by Kunena Forum