Modifying styles of filters

More
1 year 1 month 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 or Create an account to join the conversation.

More
1 year 3 weeks 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 or Create an account to join the conversation.

More
1 year 3 weeks 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 or Create an account to join the conversation.

More
1 year 3 weeks 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 or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

    • Авторизация без регистрации
    • Здравствуйте! Как можно отключить (временно) регистрацию пользователей на сайте, при этом оставив авторизацию? В настройках Джумлы возможность регистрации отключил, но все равно, пользователи регистрируются.
    • In Component / Slogin
    • Multi-language
    • To whom it may concern: I uploaded JLSitemap extension for my joomla 4alpha12 based site, it is fixed for English and Russian Language. So easily you may extend this remarkable extension to any language as for my site French language . In models/sitemap.php line:No 470 I added $lang = Factory::getLanguage(); $l = $lang->getTag(); if(pregmatch('/fr-FR/'), $l) $defaultLanguage =ComponentHelper::getParams('com_language')->get('site', 'fr-FR'); else if(pregmatch('/en-GB/'), $l) $defaultLanguage =ComponentHelper::getParams('com_language')->get('site', 'en-GB'); else ... //any language your developers would like to add or all in a switch case. Then in layout so easily based on the language tag or code you may print only links belong to related active language I used a layout override so that in the next update of your extension changes remain . Thanks again and good luck K W Nowrouzian Senior Manager https://kwproductions121.com
    • In Component / JL Sitemap
© 2010-2020 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.