Remove text labels from category images shown on home page

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hi,

I want to remove the text labels from the category images that show at the bottom of the home page. Not sure where to look...

Thanks
Rob
7 years ago
Can you be more specific? (Perhaps accompanying with a screenshot?)
7 years ago
wooncherk wrote:
Can you be more specific? (Perhaps accompanying with a screenshot?)


Thanks for your response. Yes, I should have posted one.

So the screenshot shows the lower part of the home page. The categories are 'Candleberry' and 'Village Candle'. I want to keep the images, but ditch the text label (highlighted in red). It isn't possible to leave the label blank in the category admin section.



Thanks for looking

R.
7 years ago
Hi,

Two ways to achieve that one. First - by hiding text by css.
In case of default template it would be:
.home-page-category-grid .category-item h2.title {
display: none;
}

Second way, by modify it at the view file. Again, at the default template, it would be HomepageCategories.cshtml
Just find element h2 with class title, and remove/comment it.

Regards,
Tomasz
7 years ago
nop4you wrote:
Hi,

Two ways to achieve that one. First - by hiding text by css.
In case of default template it would be:
.home-page-category-grid .category-item h2.title {
display: none;
}

Second way, by modify it at the view file. Again, at the default template, it would be HomepageCategories.cshtml
Just find element h2 with class title, and remove/comment it.

Regards,
Tomasz


Great!
Thanks for the response.

R.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.