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

How to make transparent the text area in dynamic menu item ?

2 Answers 85 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Damien
Top achievements
Rank 1
Damien asked on 18 Dec 2012, 03:52 PM
Hello,

 I used an asp:menu to obtain a menu as in the attached file menu1.png, with green background color if :hover

I would like to replace by a RadMenu control. But I can't obtain a green background for the dynamic menu item.
There is always a grey text area in front of the green background (see attached file menu2.png).
Is there a possibility to make it transparent ?

Thanks by advance.

Damien

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 19 Dec 2012, 09:23 AM
Hi Damien,

Try overriding the default CSS as follows to achieve your scenario.

CSS:
<style type="text/css">
    .RadMenu_Default .rmGroup a.rmLink:hover .rmText
    {
        background-color:Green !important;
        background-image:none !important;
    }
</style>

Hope this helps.

Regards,
Princy.
0
Damien
Top achievements
Rank 1
answered on 19 Dec 2012, 12:39 PM
Hi,

It works perfectly. Thank you very much.

As I have already a green background, I set the background-color to transparent.

Thanks again.

Damien
Tags
Menu
Asked by
Damien
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Damien
Top achievements
Rank 1
Share this question
or