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

#   Filter field width not adapting to width

##

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

Less More

- Posts: 62
- Thank you received: 3
-
-

10 years 10 months ago [\#226604](#226604) by [storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")  *[Filter field width not adapting to width](/forum/45-filters-search/881576-filter-field-width-not-adapting-to-width#226604 "-- HikaShop version -- : 2.6.0  -- not sure if this should go in filters, or display category -- I created some filters on custom fields, and all looked just fine. Now decided to add another filter on 'brand' field and the filter shows. However it is not adapting its size to the widest option in the filter option list, like the other thee filters.. Where did I go wrong ? I can't recall setting width anywhere (and can't see where I could). It looks kinda anoying like this. Placing the filters in 1 or 4 columns does not change the behaviour. The filter for 'brand' is not wide enough.... (Attached image has both views, 1 column and 4 columns)")* was created by *[storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")*

-- HikaShop version -- : 2.6.0

-- not sure if this should go in filters, or display category --
I created some filters on custom fields, and all looked just fine.
Now decided to add another filter on 'brand' field and the filter shows. However it is not adapting its size to the widest option in the filter option list, like the other thee filters..
Where did I go wrong ?
I can't recall setting width anywhere (and can't see where I could). It looks kinda anoying like this.
Placing the filters in 1 or 4 columns does not change the behaviour. The filter for 'brand' is not wide enough....
(Attached image has both views, 1 column and 4 columns)

- [ ![Filterwidth.jpg](/forum/attachment/28878) ](/forum/attachment/28878 "Filterwidth.jpg") [ ](/forum/attachment/28878?download=1 "Filterwidth.jpg")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 10 months ago [\#226605](#226605) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Filter field width not adapting to width](/forum/45-filters-search/881576-filter-field-width-not-adapting-to-width#226605 "-- HikaShop version -- : 2.6.0  -- not sure if this should go in filters, or display category -- I created some filters on custom fields, and all looked just fine. Now decided to add another filter on 'brand' field and the filter shows. However it is not adapting its size to the widest option in the filter option list, like the other thee filters.. Where did I go wrong ? I can't recall setting width anywhere (and can't see where I could). It looks kinda anoying like this. Placing the filters in 1 or 4 columns does not change the behaviour. The filter for 'brand' is not wide enough.... (Attached image has both views, 1 column and 4 columns)")*

Hi,

Your issue is related to the "chosen" javascript library and your template CSS rules.
There is nothing special to do in HikaShop ; you can see to deactivate the "chosen" setting in the HikaShop configuration in case where you have activated it.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 62
- Thank you received: 3
-
-

10 years 10 months ago [\#226714](#226714) by [storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")  Replied by *[storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")* on topic *[Filter field width not adapting to width](/forum/45-filters-search/881576-filter-field-width-not-adapting-to-width#226714 "-- HikaShop version -- : 2.6.0  -- not sure if this should go in filters, or display category -- I created some filters on custom fields, and all looked just fine. Now decided to add another filter on 'brand' field and the filter shows. However it is not adapting its size to the widest option in the filter option list, like the other thee filters.. Where did I go wrong ? I can't recall setting width anywhere (and can't see where I could). It looks kinda anoying like this. Placing the filters in 1 or 4 columns does not change the behaviour. The filter for 'brand' is not wide enough.... (Attached image has both views, 1 column and 4 columns)")*

I can't recall having done anything special to CSS, so don't understand the answer at this point.
In the HikaShop configuration the CSS is set to default.

So I don't see why filtering field of custom objects adapts it's width to the widest element in the list to choose from, and the filtereing field of standard product field 'brands' does not.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 10 months ago [\#226727](#226727) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Filter field width not adapting to width](/forum/45-filters-search/881576-filter-field-width-not-adapting-to-width#226727 "-- HikaShop version -- : 2.6.0  -- not sure if this should go in filters, or display category -- I created some filters on custom fields, and all looked just fine. Now decided to add another filter on 'brand' field and the filter shows. However it is not adapting its size to the widest option in the filter option list, like the other thee filters.. Where did I go wrong ? I can't recall setting width anywhere (and can't see where I could). It looks kinda anoying like this. Placing the filters in 1 or 4 columns does not change the behaviour. The filter for 'brand' is not wide enough.... (Attached image has both views, 1 column and 4 columns)")*

Hi,

Please read my previous message carefully.

[ www.hikashop.com/support/support/documen...html#display\_general](https://www.hikashop.com/support/support/documentation/54-hikashop-config.html#display_general)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 62
- Thank you received: 3
-
-

10 years 10 months ago [\#226778](#226778) by [storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")  Replied by *[storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")* on topic *[Filter field width not adapting to width](/forum/45-filters-search/881576-filter-field-width-not-adapting-to-width#226778 "-- HikaShop version -- : 2.6.0  -- not sure if this should go in filters, or display category -- I created some filters on custom fields, and all looked just fine. Now decided to add another filter on 'brand' field and the filter shows. However it is not adapting its size to the widest option in the filter option list, like the other thee filters.. Where did I go wrong ? I can't recall setting width anywhere (and can't see where I could). It looks kinda anoying like this. Placing the filters in 1 or 4 columns does not change the behaviour. The filter for 'brand' is not wide enough.... (Attached image has both views, 1 column and 4 columns)")*

I don't understand that message then..... (probably my bad)
"you can see to deactivate the "chosen" setting in the HikaShop configuration"
Where can I do that ?
The link points to the image settings, but I don't have issues with an image, but with the field width of the filter itself.
It does not adapt (correctly) to the width of the fields that it shows causing a slider bar to appear inside the options listed in the filter....

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 10 months ago [\#226792](#226792) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Filter field width not adapting to width](/forum/45-filters-search/881576-filter-field-width-not-adapting-to-width#226792 "-- HikaShop version -- : 2.6.0  -- not sure if this should go in filters, or display category -- I created some filters on custom fields, and all looked just fine. Now decided to add another filter on 'brand' field and the filter shows. However it is not adapting its size to the widest option in the filter option list, like the other thee filters.. Where did I go wrong ? I can't recall setting width anywhere (and can't see where I could). It looks kinda anoying like this. Placing the filters in 1 or 4 columns does not change the behaviour. The filter for 'brand' is not wide enough.... (Attached image has both views, 1 column and 4 columns)")*

Hi,

> "you can see to deactivate the "chosen" setting in the HikaShop configuration"
> Where can I do that ?

You can do that in the HikaShop configuration !
And I also gave you a link to the HikaShop configuration documentation page for the exact right part that you're looking for...
[ www.hikashop.com/support/support/documen...html#display\_general](https://www.hikashop.com/support/support/documentation/54-hikashop-config.html#display_general)

Please understand that your dropdowns are not regular dropdowns but are managed by a javascript library.
We are not responsible of the display issues of that library which is provided by Joomla itself.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")

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

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

Less More

- Posts: 62
- Thank you received: 3
-
-

10 years 10 months ago [\#226914](#226914) by [storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")  Replied by *[storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")* on topic *[Filter field width not adapting to width](/forum/45-filters-search/881576-filter-field-width-not-adapting-to-width#226914 "-- HikaShop version -- : 2.6.0  -- not sure if this should go in filters, or display category -- I created some filters on custom fields, and all looked just fine. Now decided to add another filter on 'brand' field and the filter shows. However it is not adapting its size to the widest option in the filter option list, like the other thee filters.. Where did I go wrong ? I can't recall setting width anywhere (and can't see where I could). It looks kinda anoying like this. Placing the filters in 1 or 4 columns does not change the behaviour. The filter for 'brand' is not wide enough.... (Attached image has both views, 1 column and 4 columns)")*

Thanks very much, I understand it now.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg4MTU3Ni1maWx0ZXItZmllbGQtd2lkdGgtbm90LWFkYXB0aW5nLXRvLXdpZHRoP3RtcGw9bWFya2Rvd24=) 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.094 seconds

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