Author Topic: Removing the Sort by: option  (Read 605 times)

gofer123

  • Jr. Member
  • **
  • Posts: 194
Removing the Sort by: option
« 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

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2422
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Removing the Sort by: option
« Reply #1 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
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27570
  • Always on vacation
    • Jenkin Hill Internet
Re: Removing the Sort by: option
« Reply #2 on: February 14, 2019, 11:11:38 am »
css override.  Possibly  .orderby-displaynumber  {display:none;}
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8.10197 on Joomla 3.9.13 PHP 7.0.33

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2422
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Removing the Sort by: option
« Reply #3 on: February 14, 2019, 13:32:30 pm »
Great idea Jenkins didn´t think of that.

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

gofer123

  • Jr. Member
  • **
  • Posts: 194
Re: Removing the Sort by: option
« Reply #4 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