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

Burger menu styling - backgrounds

2 Answers 95 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Tomica
Top achievements
Rank 2
Tomica asked on 31 Mar 2015, 09:00 PM
I have attached two views of a standard menu with default Metro Touch skin and mobile rendering mode.

When activated, I am happy to see that there is a transparent effect which blends very well with my page element.

When closed, I would like to get rid of the gray background, leaving just the black slices.

2 Answers, 1 is accepted

Sort by
0
Accepted
Magdalena
Telerik team
answered on 01 Apr 2015, 02:59 PM
Hello Thomas,

Thank you for contacting Telerik support.

Applying the following CSS you will achieve transparent background to the RadMenu in mobile render mode:
html .RadMenu_MetroTouch .rmRootToggle {
    border: 0;
    background: transparent;
    box-shadow: none;
}

If you would like to set different effect to the expanded menu, you can achieved it by the selector "html .RadMenu_MetroTouch .rmRootToggle:active, html.RadMenu_MetroTouch .rmRootToggle.rmExpanded"

Do not hesitate to contact us if you have other questions.


Regards,
Magdalena
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Tomica
Top achievements
Rank 2
answered on 01 Apr 2015, 08:25 PM
This code solves my requirement.

I also note that my comment on apparent transparency for expanded mobile rendering was not quite accurate. The skin provides the blue, for which I matched the background a few months ago, and promptly forgot.
Tags
Menu
Asked by
Tomica
Top achievements
Rank 2
Answers by
Magdalena
Telerik team
Tomica
Top achievements
Rank 2
Share this question
or