News:

Support the VirtueMart project and become a member

Main Menu

Category Image

Started by bstearns, July 07, 2017, 19:30:39 PM

Previous topic - Next topic

bstearns

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

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
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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