Author Topic: Category Image  (Read 177 times)

bstearns

  • Beginner
  • *
  • Posts: 2
  • A beginner
Category Image
« on: July 07, 2017, 19:30:39 pm »
I'm using VM 3.2.2 with Joomla 3.7.3.  I'm setting up my product categories, but am unable to hide the category picture. I edit a category and un-check Published for the Image, but when I Save the changes it reverts back to being checked. I imagine there is probably something else somewhere that needs to be set, but I cannot find anything.

Any advice would be greatly appreciated.

Thanks,
Brad

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26201
  • Always on vacation
    • Jenkin Hill Internet
Re: Category Image
« Reply #1 on: July 07, 2017, 20:09:35 pm »
There is no switch to turn off the category images in the backend, but it is simple to remove them in the frontend with a template override or hide with css.
eg for the default VM templates on VMBeez this css does the job:
.category-view .row .category .spacer h2 a img {
   display: none;
}

If you unpublish the category image you would normally see the "no image" displayed in the FE  (and that option just fine in the VM3.2.4 that I am testing).
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.4 on Joomla 3.8 PHP 7.0.23

Testing VM3.2.5 on J!3.8