ASPX templates
Version 6.x > ASPX templates > Show icon Home in Mainmenu View modes: 
User avatar
Member
Member
hungquang_itsyad-yahoo.com - 6/2/2013 11:22:03 PM
   
Show icon Home in Mainmenu
Hi all,

I using cms:listmenu to show mainmenu in my site. I want to show icon Homepage like this site : http://www.aainsurance.co.nz/homepage

icon Homeage, Car, Contetns...

How can I do this?

Thank

User avatar
Kentico Support
Kentico Support
kentico_filipl - 6/3/2013 1:02:52 AM
   
RE:Show icon Home in Mainmenu
Hi,

You can set the image for menu in CMS Desk -> <your document> -> Properties -> Navigation -> Menu item image. However, it is also important that Menu web part has Apply menu design property set to true.

More information can be found in Developer's Guide - Navigation.

Best regards,
Filip Ligac

User avatar
Member
Member
hungquang_itsyad-yahoo.com - 6/7/2013 3:58:49 AM
   
RE:Show icon Home in Mainmenu
Hi, I want to show icon of MenuItem Homes, don't want to show icon next to Home.

Normally, the menu will display: Home, About, Services, Product, Contact

In my case, I want to show that:
Icon's Home, About, Services, Product, Contact.

Help!

User avatar
Kentico Support
Kentico Support
kentico_filipl - 6/10/2013 3:08:30 AM
   
RE:Show icon Home in Mainmenu
Hi,

This property replaces the menu caption with image as you can see in the screenshot below. I believe this is what you want to be displayed. Can you confirm that?

User image


Best regards,
Filip Ligac

User avatar
Member
Member
hungquang_itsyad-yahoo.com - 6/14/2013 3:46:03 AM
   
RE:Show icon Home in Mainmenu
Hi,

I can't do it.

User avatar
Kentico Support
Kentico Support
kentico_filipl - 6/14/2013 3:52:12 AM
   
RE:Show icon Home in Mainmenu
Hi,

Could you specify what is not woking for you? Have you followed the steps I mentioned in my first post? Does it change the image for Home item in menu or not?

Best regards,
Filip Ligac

User avatar
Member
Member
hungquang_itsyad-yahoo.com - 6/14/2013 4:11:37 AM
   
RE:Show icon Home in Mainmenu
Hi,
I can do it.
Thank you very much.

Another problem, I want to show MenuItem level 2 on MainMenu, such as:

Tree view:
- Home
- About
- Services
+ Services 1
+ Services 2
+ Services 3
- Contact.

In mainmenu, show:

Home, About, Services 2, Contact.

Can you help me?

User avatar
Kentico Support
Kentico Support
kentico_filipl - 6/14/2013 5:22:38 AM
   
RE:Show icon Home in Mainmenu
Hi,

Regrettably, CSS list menu web part cannot be used to display the menu like this. You can only select documents which are on the same level in the content tree hierarchy.

The only way to achieve such a menu would be to create a new web part based on the current menu web part. Further information about creating custom web parts is in Developer's Guide - Developing web parts.

Best regards,
Filip Ligac