Design and CSS styles
Version 5.x > Design and CSS styles > SubmenuIndicator View modes: 
User avatar
Member
Member
andy-procaresoftware - 6/9/2010 2:15:58 PM
   
SubmenuIndicator
Greetings! -

Editing DropDown Menu:

We have added a small triangle image for the SubmenuIndicator... I know need to add a style to make it float:right. Where can this HTML element (<img ="">) be edited? I cannot locate it in the source files.

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 6/9/2010 4:37:44 PM
   
RE:SubmenuIndicator
Hello,

The Drop down menu renders the items in the table cells with particular CSS classes. Therefore, the easiest way is referring to the image in the CSS stylesheet indirectly like this:

.<CSS_prefix>CMSMenuItem img
{
float: right;
}


This will set float: right property to all images within the menu elements. And as I believe, this should be your case.

Please note, using of <CSS_prefix> is optional, it depends on your webpart settings.

Best regards
Ondrej Vasil

User avatar
Member
Member
andy-procaresoftware - 6/9/2010 4:48:33 PM
   
RE:SubmenuIndicator
Awesome! I was able to add the following class and it worked great!

.horizontalsubCMSMenu tr img
{
float:right;
}