VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: bstearns on July 07, 2017, 19:30:39 PM

Title: Category Image
Post by: bstearns 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
Title: Re: Category Image
Post by: jenkinhill 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).