More in this section

Red Menu CSS

2 posts, 0 answered
  1. Oleg
    Oleg avatar
    7 posts
    Registered:
    02 Mar 2009
    18 May 2009
    Link to this post
    Hi.
    Could you give me advice how to overwrite CSS
    .rmSized .rmRootGroup .rmVertical {width:auto;}
    to a fixed width for dropdown submenu block (ul?)
    I tried following:
    div.RadMenu_Shade ul.rmVertical
       {float: left;
        text-align:left;
        padding: 5px 0 12px 0px;
        background:#E9BF47 none ;
        color:Black;
        width:170px;}
    .RadMenu_Shade ul.rmVertical
        {float: left;
        text-align:left;
        padding: 5px 0 12px 0px;
        background:#E9BF47 none ;
        color:Black;
        width:170px;}
    Skin in appearence for Red Menu = Shade
    All styles are working except width, which is overwrote by
    .rmSized .rmRootGroup .rmVertical  from WebResource.axd

    Thanks
  2. Katia
    Katia avatar
    194 posts
    Registered:
    01 Jul 2016
    19 May 2009
    Link to this post
    Hi Oleg,

    I suggest that you add !important after width property. That will override the width that is set in the basic embedded CSS.

    div.RadMenu_Shade ul.rmVertical  
       {float: left; 
        text-align:left; 
        padding: 5px 0 12px 0px; 
        background:#E9BF47 none ; 
        color:Black; 
        width:170px !important;
    .RadMenu_Shade ul.rmVertical 
        {float: left; 
        text-align:left; 
        padding: 5px 0 12px 0px; 
        background:#E9BF47 none ; 
        color:Black; 
        width:170px !important;


    Sincerely yours,
    Katia
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
2 posts, 0 answered