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

Change Formatting Style Of The Menu

6 Answers 162 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Seth
Top achievements
Rank 1
Seth asked on 24 May 2013, 03:35 PM
I have the menu built into a header on my application.  I am using the new Glow skin and I would like to remove the border around the menu.  What style do I need to override to remove that border?

6 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 May 2013, 04:31 AM
Hi,

Try the following CSS.

CSS:
html .RadMenu_Glow .rmRootGroup
{
 border: 0 none !important;
}

Thanks,
Princy.
0
Clive Hoggar
Top achievements
Rank 1
answered on 07 Apr 2016, 06:45 PM

Hi

 

This is an old post but I am re-visiting a legacy application using Q3 2013 controls, in particular the GLOW menu.

The code below changes the background colour but leaves a black border, which I want to get rid of. What am I doing wrong here?

Thanks

.RadMenu_Glow .rmText
    {
        background-color: #005daa !important;
    }
 .RadMenu_Glow .rmRootGroup
{
 border: 0 none !important;
}

0
Magdalena
Telerik team
answered on 12 Apr 2016, 08:12 AM
Hi Clive,

We have applied the CSS to the RadMenu in classic render mode (as the styles seems to be not adapted to lightweight render mode), but there is not a black border around the menu. We are sending you this video for your reference. Could you please modify the sample project in the attachment and open a support ticket to be able to send back us a modified version where the issue is reproduced?

Regards,
Magdalena
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Clive Hoggar
Top achievements
Rank 1
answered on 12 Apr 2016, 05:27 PM

Hi Magdalena

Thanks for the video, and I get exacty the same result running the page on my machine.

I don't have any support ticket credits available to me so I can't send a running example, but in any case when I paused on the demo, and zoomed in, I could still see a slight grey border (see attached screenshot), but it is not very noticeable on a white background.

However when I added a div round the menu in your demo to put the menu on the same blue background as here:

<div style="height:40px; background-color: #005daa; padding-top:3px; padding-left:10px;">

        <telerik:RadMenu runat="server" Skin="Glow" RenderMode="Classic">
            <Items>
                <telerik:RadMenuItem Text="Item" />
                <telerik:RadMenuItem Text="Item" />
                <telerik:RadMenuItem Text="Item" />
                <telerik:RadMenuItem Text="Item" />
                <telerik:RadMenuItem Text="Item" />
            </Items>
        </telerik:RadMenu>

</div>

I get a more conspicuous (darker border) border. See attached screenshot.

It seems like the border of some kind is still there.

 

Thanks for your support!

 

Clive

 

0
Magdalena
Telerik team
answered on 14 Apr 2016, 08:31 AM
Hello Clive,

We have succeeded to reproduce the issue. The "border" is not a border, but shadows. It can be removed by applying the following CSS:
html .RadMenu_Glow .rmRootGroup {
    box-shadow: none;
}


Regards,
Magdalena
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Clive Hoggar
Top achievements
Rank 1
answered on 15 Apr 2016, 12:30 PM

Thanks for this gem! 

In summary, what works to have no 'border' at all is

.RadMenu_Glow .rmRootGroup {
    box-shadow: none !important;
    border: none !important;
}

 

Regards

Clive

Tags
Menu
Asked by
Seth
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Clive Hoggar
Top achievements
Rank 1
Magdalena
Telerik team
Share this question
or