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

#   Filter button and text not in one line

##

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

Less More

- Posts: 103
- Thank you received: 12
-

4 years 7 months ago [\#340514](#340514) by [chli](/forum/user/64945-chli "View chli's Profile")  *[Filter button and text not in one line](/forum/45-filters-search/904190-filter-button-and-text-not-in-one-line#340514 "-- Joomla version -- : 3.10.6  Hi there,  I have created a filter and unfortunately have to realize that the filter buttons are not in line with the text. There is always a line break between button and text (front-end) . However, this is correctly displayed in the field settings. What else needs to be set for this?  Thank you in advance for your feedback.  Greetings from Christian")* was created by *[chli](/forum/user/64945-chli "View chli's Profile")*

-- Joomla version -- : 3.10.6

Hi there,

I have created a filter and unfortunately have to realize that the filter buttons are not in line with the text. There is always a line break between button and text (front-end)  [ ![View-front-end.jpg](/forum/attachment/54609) ](/forum/attachment/54609 "...-front-end.jpg")

[ ![View-setting-field.jpg](/forum/attachment/54611) ](/forum/attachment/54611 "...ting-field.jpg")

[ ![View-setting-filter-module.jpg](/forum/attachment/54610) ](/forum/attachment/54610 "...ter-module.jpg")

. However, this is correctly displayed in the field settings. What else needs to be set for this?

Thank you in advance for your feedback.

Greetings from Christian

- [ ![View-front-end.jpg](/forum/attachment/54609) ](/forum/attachment/54609 "...-front-end.jpg") [ ](/forum/attachment/54609?download=1 "...-front-end.jpg")
- [ ![View-setting-filter-module.jpg](/forum/attachment/54610) ](/forum/attachment/54610 "...ter-module.jpg") [ ](/forum/attachment/54610?download=1 "...ter-module.jpg")
- [ ![View-setting-field.jpg](/forum/attachment/54611) ](/forum/attachment/54611 "...ting-field.jpg") [ ](/forum/attachment/54611?download=1 "...ting-field.jpg")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 7 months ago -  4 years 7 months ago [\#340517](#340517) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Filter button and text not in one line](/forum/45-filters-search/904190-filter-button-and-text-not-in-one-line#340517 "-- Joomla version -- : 3.10.6  Hi there,  I have created a filter and unfortunately have to realize that the filter buttons are not in line with the text. There is always a line break between button and text (front-end) . However, this is correctly displayed in the field settings. What else needs to be set for this?  Thank you in advance for your feedback.  Greetings from Christian")*

Hello,

In order to be able to help you, we will need to see by ourselves the context in order to get the root issue.
And so can you provide an **Url link to the context**, please ?

From this we will now how to help you.
Regards

Last edit: 4 years 7 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 103
- Thank you received: 12
-

4 years 7 months ago [\#340540](#340540) by [chli](/forum/user/64945-chli "View chli's Profile")  Replied by *[chli](/forum/user/64945-chli "View chli's Profile")* on topic *[Filter button and text not in one line](/forum/45-filters-search/904190-filter-button-and-text-not-in-one-line#340540 "-- Joomla version -- : 3.10.6  Hi there,  I have created a filter and unfortunately have to realize that the filter buttons are not in line with the text. There is always a line break between button and text (front-end) . However, this is correctly displayed in the field settings. What else needs to be set for this?  Thank you in advance for your feedback.  Greetings from Christian")*

Hello,

the link is:
[ moellerstonecare-shop.de/produkte/hmk-reiniger.html](https://moellerstonecare-shop.de/produkte/hmk-reiniger.html)

by the way:
Unfortunately, I also have the problem on this topic that I can assign a maximum of 3 specific selection values ​​for the products in one filter field (7 options are created). For all other filter fields, a variable assignment in the product setting is possible without any problems.

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 7 months ago -  4 years 7 months ago [\#340549](#340549) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Filter button and text not in one line](/forum/45-filters-search/904190-filter-button-and-text-not-in-one-line#340549 "-- Joomla version -- : 3.10.6  Hi there,  I have created a filter and unfortunately have to realize that the filter buttons are not in line with the text. There is always a line break between button and text (front-end) . However, this is correctly displayed in the field settings. What else needs to be set for this?  Thank you in advance for your feedback.  Greetings from Christian")*

Hello,

It seems that your display issue come from template, see my screenshot for details :
[ ![alt](https://i.ibb.co/D7Zbq41/screenshot.png) ](https://i.ibb.co/D7Zbq41/screenshot.png "alt")

In order to check this, you can process a test with a default template (like ProtoStar), from this 2 solutions :
- You contact your **template provider support**
- You **add some custom css** command (like shown on my screenshot) in order to adjust this point.

**Note :** Have a look on this **[ documentation](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html#custom)** to learn how to add css command to your frontend file css.

**About your news issue :**
"***I can assign a maximum of 3 specific selection values ​​for the products in one filter field (7 options are created). For all other filter fields, a variable assignment in the product setting is possible without any problems.***"
We are really sorry for this returns, but we aren't sure to understand the nature of your problem...
What do you mean by :
"***3 specific selection***" =&gt; Do you mean, filter maximum per 3 filter entries ?
"***7 options are created***" =&gt; Do you mean, that you have create 7 filter entries ?...

In our mind, a filter entry is created in HikaShop, in **Main HikaShop Configuration**, **Display** dropdown =&gt; **Filters**.
Awaiting your detailed elements to be sure to understand your point and better help you.

Regards

Last edit: 4 years 7 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 103
- Thank you received: 12
-

4 years 7 months ago -  4 years 7 months ago [\#340578](#340578) by [chli](/forum/user/64945-chli "View chli's Profile")  Replied by *[chli](/forum/user/64945-chli "View chli's Profile")* on topic *[Filter button and text not in one line](/forum/45-filters-search/904190-filter-button-and-text-not-in-one-line#340578 "-- Joomla version -- : 3.10.6  Hi there,  I have created a filter and unfortunately have to realize that the filter buttons are not in line with the text. There is always a line break between button and text (front-end) . However, this is correctly displayed in the field settings. What else needs to be set for this?  Thank you in advance for your feedback.  Greetings from Christian")*

Hi there,

thanks for the information. As you described, I changed "display: block;" to "display: inline-block;", unfortunately without any change. The adjustment was made by me as you described in the Hika css area, as well as in the custom.css of the template.
I have captured in the respective css files:
.hikashop_filter_container {display: inline-block;}
But this brought no change. However, I was able to test that I was correct with the css setting filter_values_container, since the input boxes were gone when I entered .filter_values_container {display: none;}.

I also tested it with .hikashop_filter_checkbox {display: inline-block;} in both css, also no change.
Also the css width: 92%; helps not.

I also noticed that the display (filter front-end) in your screenshot differs from the browser view I posted. With me, there is a line break after the check box in different browsers, with you it is in one line.

Regarding the other error message (maximum of 3 specific selection values):
Sorry for this mix up. For this I will create a new topic in which the contents are also better explained.

It would be great if you could give me an alternative suggestion. Thanks in advance.

Last edit: 4 years 7 months ago by [chli](/forum/user/64945-chli "View chli's Profile").

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 7 months ago -  4 years 7 months ago [\#340593](#340593) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Filter button and text not in one line](/forum/45-filters-search/904190-filter-button-and-text-not-in-one-line#340593 "-- Joomla version -- : 3.10.6  Hi there,  I have created a filter and unfortunately have to realize that the filter buttons are not in line with the text. There is always a line break between button and text (front-end) . However, this is correctly displayed in the field settings. What else needs to be set for this?  Thank you in advance for your feedback.  Greetings from Christian")*

Hello,

I'm sorry but you didn't follow my instructions correctly, the target of your selector was built to target the label (**&lt;label&gt;&lt;/label&gt;**).

By analyzing your css I see that you have targeted **several different elements** (and in several different situations, container or sub-container) and therefore had to apply the following css commands to them the same commands : Code:

display: inline-block; margin-bottom: 5px; width: 80%;

And unfortunately in several places (red bordered) except where I indicate in my previous screenshot, namely the "**label**" (green bordered) so you will now have to go back because indeed with all these modifications my commands can no longer work, see my screenshot to see the places to "**clean up**", see my screenshot for better understand my idea :
[ ![alt](https://i.ibb.co/FYnnbkq/screenshot.png) ](https://i.ibb.co/FYnnbkq/screenshot.png "alt")

Then, use the commands on the good target, and I will add an important point, add to your selector a **specific container class**, see my scheme to understand the idea :
**.specific\_container\_class .label {
Your command Css
}**
I think that the container class **red bordered** &amp; with the **N°1** has the good class, to restrict your custom command only in your filter context.

Hope this will help you to correct your display issue.
Regards

Last edit: 4 years 7 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 103
- Thank you received: 12
-

4 years 7 months ago [\#340982](#340982) by [chli](/forum/user/64945-chli "View chli's Profile")  Replied by *[chli](/forum/user/64945-chli "View chli's Profile")* on topic *[Filter button and text not in one line](/forum/45-filters-search/904190-filter-button-and-text-not-in-one-line#340982 "-- Joomla version -- : 3.10.6  Hi there,  I have created a filter and unfortunately have to realize that the filter buttons are not in line with the text. There is always a line break between button and text (front-end) . However, this is correctly displayed in the field settings. What else needs to be set for this?  Thank you in advance for your feedback.  Greetings from Christian")*

Hello Philippe,

Unfortunately, your instructions are very difficult for me to understand because I have to translate them into German and it is not always so understandable.

Currently I have removed the commands from the css template:

.filter_values_container {display: inline-block; margin-bottom: 5px; width: 80%;}
.hikashop_filter_checkbox { display: inline-block; margin-bottom: 5px; width: 80%;}

Perhaps you could tell me more precisely where the corresponding adjustments should be made in the hika-css or the template-css.

Thanks in advance.

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile")
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

4 years 7 months ago -  4 years 7 months ago [\#340989](#340989) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[Filter button and text not in one line](/forum/45-filters-search/904190-filter-button-and-text-not-in-one-line#340989 "-- Joomla version -- : 3.10.6  Hi there,  I have created a filter and unfortunately have to realize that the filter buttons are not in line with the text. There is always a line break between button and text (front-end) . However, this is correctly displayed in the field settings. What else needs to be set for this?  Thank you in advance for your feedback.  Greetings from Christian")*

Hallo "chli",

ich erlaube mir mal, mich hier einzuklinken, damit es einerseits sprachlich einfacher für dich ist, und andererseits, um dir die Lösung zu geben.

Die folgenden Zeilen setzt du am besten entweder ans Ende deines HikaShop Custom CSS oder ans Ende deines Template Custom CSS -- je nachdem, wie es dir leichter fällt: Code:

.hikashop_filter_checkbox { display: block; } .hikashop_filter_checkbox &gt; input[type="radio"], .hikashop_filter_checkbox &gt; input[type="checkbox"] { margin: -2px 5px 0 0; } .hikashop_filter_checkbox &gt; label { display: inline; }

Dann sollte es so aussehen, wie du es willst.

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Last edit: 4 years 7 months ago by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile"). Reason: Korrektur:.hikashop_filter_checkbox {display: block;}

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 7 months ago -  4 years 7 months ago [\#340983](#340983) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Filter button and text not in one line](/forum/45-filters-search/904190-filter-button-and-text-not-in-one-line#340983 "-- Joomla version -- : 3.10.6  Hi there,  I have created a filter and unfortunately have to realize that the filter buttons are not in line with the text. There is always a line break between button and text (front-end) . However, this is correctly displayed in the field settings. What else needs to be set for this?  Thank you in advance for your feedback.  Greetings from Christian")*

Hello,

In this link to the **[ documenation](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html#custom)**, and note that you can add your command Css in **HikaShop frontend.css** **OR** style.css or any Css file.
In general, it doesn't matter **where** you put your css commands, what really matters is the **priority** you give your css commands.

Here some explanations to understand how to build **high priority** css command :
**1.** First the minimum necessary to function properly :
Check that your selector is **well written**, good class (or Id) html and no mistake or typo
If your command is visible in your **browser inspector tool**, but is overridden (css command crossed out), then his priority isn't strong enough.
[ ![alt](https://i.postimg.cc/MTGmj6nv/override-css.png) ](https://i.postimg.cc/MTGmj6nv/override-css.png "alt")

**2.** Now, some css priority system explanation :
From less to the highest priority :
**.html\_class\_element {command: value}
.html\_class\_module .html\_class\_element {command: value}
.html\_class\_page .html\_class\_module .html\_class\_element {command: value}
.html\_class\_page .html\_class\_module .html\_class\_element {command: value !important;}**

Note, that if **2** css commands have strictly the **same selector**, then the **last written** in the css file will be the one used.
Hope this will help you to achieve what you need.

Regards

Last edit: 4 years 7 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 103
- Thank you received: 12
-

4 years 7 months ago [\#341025](#341025) by [chli](/forum/user/64945-chli "View chli's Profile")  Replied by *[chli](/forum/user/64945-chli "View chli's Profile")* on topic *[Filter button and text not in one line](/forum/45-filters-search/904190-filter-button-and-text-not-in-one-line#341025 "-- Joomla version -- : 3.10.6  Hi there,  I have created a filter and unfortunately have to realize that the filter buttons are not in line with the text. There is always a line break between button and text (front-end) . However, this is correctly displayed in the field settings. What else needs to be set for this?  Thank you in advance for your feedback.  Greetings from Christian")*

Hallo lousyfool,

vielen Dank für das "einmischen", Code funktioniert wunderbar.

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