Close

Removing Current NopCommerce Header

Maxine_K83
11 years ago
#1939 Quote
Avatar
  • 11
Hello All,

We have just installed and activated the Categories Header Menu for our site, however how do you then get rid of the Nop Commerce Header menu that the site comes with so it look like the example you give in the Demo?

Many thanks
Maxine_K83
11 years ago
#1940 Quote
Avatar
  • 11
Also, another point, if you have to tick "Show in Home Page" for it to appear in the header, how do you then combat the fact you don't want the categories in boxes on the homepage further down? Again they are not like this in the Demo version you show.
IvanStoyanov
11 years ago
#1942 Quote
Avatar
  • Moderator
  • 269
Maxine_K83 wrote:
Also, another point, if you have to tick "Show in Home Page" for it to appear in the header, how do you then combat the fact you don't want the categories in boxes on the homepage further down? Again they are not like this in the Demo version you show.


Hi Maxine_K83,

To remove the categories, that are shown on the Home page, you need to go to the Views/Home/ folder and open the Index.cshtml view. Find the following code and delete it

@Html.Action("HomepageCategories", "Catalog")
        <div class="clear">
        </div>


Ivan Stoyanov
Thank you for choosing our products! Your feedback is important to us!
IvanStoyanov
11 years ago
#1944 Quote
Avatar
  • Moderator
  • 269
Maxine_K83 wrote:
Hello All,

We have just installed and activated the Categories Header Menu for our site, however how do you then get rid of the Nop Commerce Header menu that the site comes with so it look like the example you give in the Demo?

Many thanks


Hi Maxine_K83,

In order to hide the default header menu you can add the following code to the .css file of the Categories Header Menu or your theme
.header-menu {
    display: none;
}


We already added the code to the Categories Header Menu plugin, so you can just download the package again from our website, delete the CategoriesHeaderMenu folder from the Plugins folder in your nopCommerce website and then extract the CategoriesHeaderMenu folder from the package to the Plugins folder in your nopCommerce website.

Ivan Stoyanov
Thank you for choosing our products! Your feedback is important to us!
Maxine_K83
11 years ago
#1945 Quote
Avatar
  • 11
Thanks so much everyone. This is great. Have a lovely day