[Skip to main content](#vessel-content)

#   ajusting price filter slider

##

- **[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")**
- [![BluepointWebdesign's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile") Topic Author
- [ Offline](/forum/user/34929-bluepointwebdesign)

Less More

- Posts: 424
- Thank you received: 11
-
-

3 years 1 month ago [\#355963](#355963) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  *[ajusting price filter slider](/forum/45-filters-search/907151-ajusting-price-filter-slider#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.")* was created by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")*

-- url of the page with the problem -- : [ 07.bluepoint-concept.nl/feestdagen/kerst](https://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.  [ ![screenshot-07.bluepoint-concept.nl-2023.10.18-15&#95;15&#95;22.png](/forum/attachment/58000) ](/forum/attachment/58000 "...8-15&#95;15&#95;22.png")

- [ ![screenshot-07.bluepoint-concept.nl-2023.10.18-15&#95;15&#95;22.png](/forum/attachment/58000) ](/forum/attachment/58000 "...8-15&#95;15&#95;22.png") [ ](/forum/attachment/58000?download=1 "...8-15&#95;15&#95;22.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwNzE1MS1hanVzdGluZy1wcmljZS1maWx0ZXItc2xpZGVyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

3 years 1 month ago [\#355966](#355966) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[ajusting price filter slider](/forum/45-filters-search/907151-ajusting-price-filter-slider#355966 "-- 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.")*

Hi,

What you could try is to change the line: Code:

$cursorWidth='width:'.$filter-&gt;filter_options['cursor_width'].'px;';

to: Code:

$cursorWidth='width: 100%; max-width:'.$filter-&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwNzE1MS1hanVzdGluZy1wcmljZS1maWx0ZXItc2xpZGVyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.054 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
