Remove brand /category text on home page just have the brand logo image

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi there
v3.9
We would like to display only the brand logos (images) on our home page rather than the logo and the text description.

i.e

we sell printers so by default the home page displays the logo image and also the text

i.e.

HP logo as an image
and underneath this image the text HP.

its too much !

is there a way to remove the text and just have the logo image?

thanks !
6 years ago
Hello,

I am not sure if I understood you correctly but if you want to remove the home page categories titles you can do that but it will require you to do some changes to the nopCommerce code.
You will have to edit the ~/Views/Catalog/HomepageCategories.cshtml file. On line 12 you will have to remove the following code:

<h2 class="title">
    <a href="@Url.RouteUrl("Category", new { SeName = item.SeName })" title="@item.PictureModel.Title">
        @item.Name
    </a>
</h2>


This will remove the titles of the home page categories.

Note: This is only valid for the default clean theme.
Note: Changes to the nopCommerce code will make it harder to upgrade to a newer version.
Note: Probably a better way to hide the titles is to use CSS. That way you will not have to have changes in your view files.

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