VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: gofer123 on February 14, 2019, 04:26:18 AM

Title: Removing the Sort by: option
Post by: gofer123 on February 14, 2019, 04:26:18 AM
Hi all,

Can't seem to find a solution for this, I'm trying to remove this search option, please see attached image. The menu item is: Virtuemart/Category Layout. I'm using the horme_3 template.
Thanks for any advise.
Cheers

VirtueMart 3.2.14
Joomla! 3.8.11
PHP Version  7.3.1
Title: Re: Removing the Sort by: option
Post by: Jörgen on February 14, 2019, 07:09:01 AM
Customize your template, probably default.php in the tempates/your template/html/com_virtuemart/category directory.

Jörgen @ Kreativ Fotografi
Title: Re: Removing the Sort by: option
Post by: jenkinhill on February 14, 2019, 11:11:38 AM
css override.  Possibly  .orderby-displaynumber  {display:none;}
Title: Re: Removing the Sort by: option
Post by: Jörgen on February 14, 2019, 13:32:30 PM
Great idea Jenkins didn´t think of that.

Jörgen @ Kreativ Fotografi
Title: Re: Removing the Sort by: option
Post by: gofer123 on February 14, 2019, 21:45:32 PM
Thank you both for your help guys, in the  horme_3 template,

vm-ltr-site.css .orderby-displaynumber label

and in template.css .well

Created a css override as suggested by  jenkinhill

Cheers