Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Albert Shenker
asked on 14 Jan 2010, 06:06 PM
I have noticed the text in my context menu items are not left-aligned as it should be. Perhaps it is picking up a style from something else. Is there a way to ensure that these item texts get left-aligned?
6 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 15 Jan 2010, 06:46 AM
Hello Albert,
I guess you want to shift the menu item text to left most in context menu. If so add the following CSS on page.
css:
Also if you want to remove the background style, then use the following CSS.
css:
-Shinu.
I guess you want to shift the menu item text to left most in context menu. If so add the following CSS on page.
css:
| .rmText |
| { |
| padding-left: 1px !important; |
| } |
Also if you want to remove the background style, then use the following CSS.
css:
| .rmGroup |
| { |
| background-image: none !important; |
| } |
-Shinu.
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 15 Jan 2010, 01:10 PM
I don't think the padding is the issue and you're suggestion didn't seem to help. Here is what the menu looks like. This is with the latest internal build of controls.
http://www.shenkerinnovation.com/images/menu.jpg
As you can see the items are not aligned properly.
http://www.shenkerinnovation.com/images/menu.jpg
As you can see the items are not aligned properly.
0
Hi Albert,
Could you please send us a live url demonstrating this issue? Thanks
Regards,
Yana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Could you please send us a live url demonstrating this issue? Thanks
Regards,
Yana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 19 Jan 2010, 01:44 AM
That won’t be possible, but I believe my screen capture in the previous post demonstrates the issue pretty well. Is there something in particular you are looking for?
0
Accepted
Hi Albert,
I guess that somewhere in your styles you've set text-align css property to "center" and that overwrites the context menu styles. You can try the following css style:
Best wishes,
Yana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I guess that somewhere in your styles you've set text-align css property to "center" and that overwrites the context menu styles. You can try the following css style:
.RadMenu .rmGroup .rmLink, .RadMenu .rmGroup .rmText { text-align: left !important;}Best wishes,
Yana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 19 Jan 2010, 04:10 PM
That did the trick. Thanks.