This is a migrated thread and some comments may be shown as answers.

Menu image position

1 Answer 109 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Brian Roth
Top achievements
Rank 1
Brian Roth asked on 18 May 2012, 06:12 PM
Hello,

Is there  a way to set the position of an image in relation to the text on a menu item?  It looks like the image defaults to the left of the text.  For my project I would like the image to show above the text.  Is this possible?

Thanks for your assistance!

Regards,
Brian

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 19 May 2012, 05:24 PM
Hi Brian,

Generally speaking, such functionality of the menu is not supported out of the box. In order to customize the presentation of any particular widget, you could use a CSS selector with the widget’s specific CSS class - this action will override the default styling. You could get the right selector as inspect the HTML output with Firebug. For example the following code snippet can be used for positioning the image above the text in the Kendo UI Menu:
.k-image{
  position: absolute;
}

Also, I believe you might find this topic from our online documentation very useful. 
 
Greetings,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Menu
Asked by
Brian Roth
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or