Close

Show image category in mobile version

ChillyWilly
4 years ago
#21062 Quote
Avatar
  • 10
Hi there, dear Nop community!
Like the title of this topic says, I want to display the picture of the categories in the home instead of showing the name. Because I have the name of the categories to not display in the Custom Head Styles, none of the catgories are displaying in the home page. Is there any way of doing this as an admin configuration or i'll have to do it in the CHS/style.css?
Thanks in advance!
hristo
4 years ago
#21063 Quote
Avatar
  • Moderator
  • 172
Hello.

To show the featured category images on mobile resolutions, either go to your mobile-only.css file and delete this code:

    .home-page-category-grid .item-box .picture,
    .sub-category-item .picture {
        display: none;
    }

OR add this code into the custom head styles panel in your theme administration:

    .home-page-category-grid .item-box .picture,
    .sub-category-item .picture {
        display: block;
    }

Regards,
Hristo Gospodinov
Nop-Templates.com