How do I remove the "Ordering" drop-down menu option from Joomla Search?
I need to remove the Green highlight section not the Red section by setting 'Use Search Options' to 'No'.
Thanks!
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.
Sign up to join this communityHow do I remove the "Ordering" drop-down menu option from Joomla Search?
I need to remove the Green highlight section not the Red section by setting 'Use Search Options' to 'No'.
Thanks!
Search Options
Setting Components -> Search -> Options -> Use Search Options
to "No" will disable the search options.
CSS Override
Alternatively, you could hide the ordering option this via CSS as follows:
.ordering-box {
display: none;
}
or possibly:
.ordering-box {
display: none !important;
}
This may depend on the template you are using. For example, this seems to be correct for the JSN Solid Pro template if the demo is anything to go by:
Taking JSN templates as an example, copy the custom CSS code into a custom file e.g. custom.css
and copy the file to the CSS folder at /templates/[template name]/css
. Remember to specify the name of the CSS file at Extensions -> Templates -> [template name] -> SEO & System -> Custom CSS/JS File(s)
.
See https://joomla.stackexchange.com/a/3878/120 for instructions on adding custom CSS files to other templates.
http://[your-web-site]/templates/[template-name]/css/custom.css
or similar to confirm the code is present. You may need to clear the Joomla cache etc to ensure that the latest version of the custom CSS file is loading.
Mar 10, 2016 at 4:06