Modifying styles of filters

More
6 years 6 months ago #7998 by Leo Hoogerbrugge
I used an earlier topic (joomline.net/forum/jlcontentfieldsfilter...ling-the-filter.html) to modify the sublabels. However, I did not manage to make the label itself bold. Also I would like to line up the text of the sublabels with the checkboxes. Now the sublabel text is lower than the checkbox. Can anyone help me with the css styles to change?

Please Log in to join the conversation.

More
6 years 5 months ago #8008 by JoomLine
Hello.
CSS styles depend on your site, something that fits in the subject, perhaps not suitable for your site, it's hard to say something without seeing the site.

Please Log in to join the conversation.

More
6 years 5 months ago #8010 by Leo Hoogerbrugge
With some more trial and error I found it out my self using the page source and searches on the web. I used:

[class*="jlmf-checkbox"] {
position:absolute;
}

label.jlmf-sublabel {
font-style: normal; vertical-align: middle; margin-left: 20px;
}

The margin left is needed to create room for the checkbox.

I think these CSS styles are independent of the template used.
The following user(s) said Thank You: ahancity

Please Log in to join the conversation.

More
6 years 5 months ago #8013 by JoomLine
Many templates impose their styles on the standard form elements, almost all override the checkbox.
The following user(s) said Thank You: ahancity

Please Log in to join the conversation.

Powered by Kunena Forum

Last from the forum

    • Место вывода кнопок
    • Не работает кнопка { jllike } - для вывода плагина (без пробелов) Невозможно вывести кнопки при разрыве страницы. Например, при 10 разрывах страны, или, по сути, 10 страницах, кнопки соц сетей, только на последней странице! Как вывести кнопки на всех страницах при разрыве страницы? Или каким тегом на 1 странице в 2025 году, если тег { jllike } давно не работает?
    • In Plugins Joomline / JL Like / JL Like PRO
    • Карта сайта для компонента JoomMedia
    • Здравствуйте. Уже 2 года не могу создать карту сайта для компонента JoomMedia, который покупал: 1. В компоненте JSitemap нет такого источника данных, а сам не могу создать SQL запрос карты сайта для JoomMedia 2. В компоненте JL Sitemap нет плагина JoomMedia. Сможете помочь по любому из 2-х пунктов, могу оплатит расходы, компонент JoomMedia находится по ссылке drive.google.com/file/d/1xg4oQzcmYhJ1NGP...sw2/view?usp=sharing Компонент в работе: 4in.ru/sport.html  
    • In Component / JL Sitemap
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.