We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Menu Autoformat borders

When setting the autoformat on a menu, it assigns borders.  I have tried changing the borders property to remove them, but this has no effect.  Is there a way to remove the borders from a menu when using the autoformat property?

1 Reply

GA Gurunathan A Syncfusion Team November 21, 2013 05:52 AM UTC

Hi Steve,

Thanks for contact Syncfusion support.

 

We don’t have any default property to remove the border attribute in Menu control so we suggest you to override the appropriate CSS class to achieve your requirement. You can modify the following classes,  menuStaticPanel, menuDynamicPanel, menuPanelItem_Hover, menuPanelItem_Expanded.  Please refer the below code snippet.

 

<code>

 

<style type="text/css">

 

.menuDynamicPanel

.menuStaticPanel

.menuPanelItem_Hover

.menuPanelItem_Expanded

 

{

    border-style :none !important;

    border-width:0px !important;

    padding-top:0px !important;

}

     

</style>

 

</code>

 

Please let us know if you have further queries.

 

Thanks,

Gurunathan


Loader.
Live Chat Icon For mobile
Up arrow icon