cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove categories from header of homepage

How to remove categories from header of homepage

Hi,

 

I am a beginner at developing and I have issues to solve.

 

On the homepage of the store I need to remove the categories in head of a page. The row is at position between search bar and the black row Home/POLIGON ZA KODOVE.

 

Also I would like to remove the extra text on sides of categories titles.

 

Site:

http://store.euroval.hr/poligon-kod/?___store=default

 

11 REPLIES 11

Re: How to remove categories from header of homepage

Hello Marko1987,

 

You can screen shot an image which show where you want to remove? If you want to remove the main navigation menu or edit, I assume that your current package is smartwave, you can find in template/page/html/header.phtml<?php echo $this->getChildHtml('topMenu') ?>

 

app/design/frontend/smartwave/porto/template/page/html/header.phtml

...

<?php echo $this->getChildHtml('topMenu') ?>

...

 

If rwd package: app/design/frontend/rwd/default/template/page/html/header.phtml

Problem solved? Click Accept as Solution!

Re: How to remove categories from header of homepage

Thanks for help.

 

I don't want to move them I want to remove them permanently.

 

In red circles are categories I don't want to have in header.

 

http://s21.postimg.org/ted68ku87/Magento_header.jpg

Re: How to remove categories from header of homepage

Hello,

 

You use any theme or your custom theme? 

You try to log into Magento Admin: Catalog > Manage Categories > choose your category > Include in Navigation Menu > No

 I see Promotions category is a specific category. I think it's created by hard core or extension. If creating by hard code, you should check: (I assumed we use rwd package) 

app/design/frontend/rwd/default/template/page/html/topmenu.phtml

app/design/frontend/rwd/default/template/page/html/topmenu/renderer.phtml

 

Remember that clear you Magento Cache.

Problem solved? Click Accept as Solution!

Re: How to remove categories from header of homepage

Thank you very much.

 

It was very useful. I removed the categories.

 

Still I have issues. 

 

I can't remove the category "Promotions" like other categories and label text (new, special prices)

 

And since I am new in this I don't understand this:

If creating by hard code, you should check: (I assumed we use rwd package) 

app/design/frontend/rwd/default/template/page/html/topmenu.phtml

app/design/frontend/rwd/default/template/page/html/topmenu/renderer.phtml

 

Where should I look for those files. The magento is installed on company server (cpanel).

 

 

Re: How to remove categories from header of homepage

Hi,

 

I checked your site. This Promotion is coming by default menu.

 

One way which i thought could solve this is by css :-

 

You can use display:none for the class menu-full-width and the promotion will be gone.

Re: How to remove categories from header of homepage

Hello Marko1987,

 

You should have general knowledge about Magento theme: http://devdocs.magento.com/guides/m1x/ce19-ee114/RWD_dev-guide.html 

I think that your current package is smartwave, you try to find Promotion category in these files:

 

app/design/frontend/smartwave/porto/template/page/html/topmenu.phtml

app/design/frontend/smartwave/porto/template/page/html/topmenu/renderer.phtml

 

There is another way, you search the keyword "menu-full-width" throughout your source code if you have already on you local computer.

Please shouldn't use CSS, like "display:none".Smiley Sad

Problem solved? Click Accept as Solution!

Re: How to remove categories from header of homepage

Hi MrKhoa99,

 
The link about magento theme is not working for me.
 
How do I access to this files?

 

app/design/frontend/smartwave/porto/template/page/html/topmenu.phtml

app/design/frontend/smartwave/porto/template/page/html/topmenu/renderer.phtml

 

Knowledge I have about CSS is low. Where i and how can I manage CSS?

 

 

 

 

Re: How to remove categories from header of homepage

Hello Marko1987,

 

First of all, you should read my post here:

https://community.magento.com/t5/Admin-Configuration-Questions/How-do-you-find-the-file-location/m-p...

 

I saw that your site is using merge js and css feature. I used Inspect Element browser and saw: http://store.euroval.hr/skin/frontend/smartwave/porto/favicon.ico => I predict your css and js files under: skin/frontend/smartwave/porto/

 

Does you have a source this site on local computer?

 

 

Problem solved? Click Accept as Solution!

Re: How to remove categories from header of homepage

No, 

 

I don't have a source of that web site on computer. Magento is installed on company server.