Overide Default Styles

2 posts, 0 answers
  1. Jibber4568
    Jibber4568 avatar
    28 posts
    Member since:
    Jul 2011

    Posted 19 Jan 2012 Link to this post

    Hi Guys,

    I was hoping you may be able to assist me in overriding your default styles. I have my own skin applied to a panel and everything works and looks as it should. There are a few discrepancies between browsers and to get around these I need to be able to amend the padding on .rpimage.

    I have a class as follows to try and alter the padding:

    .RadPanelBar_MySkin .rpImage
    {
        padding-bottom: 10px !important;
    }

    However this is still being overridden by .RadPanelBar .rpImage. Is there a way that I can overide this and set the image padding myself?

    Thanks as always for your help.
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 19 Jan 2012 Link to this post

    Hello Elliot,

    Try using the following css class:
    div.RadPanelBar .rpGroup .rpImage {
        padding: 3px 3px 19px 9px;
    }

    Greetings,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top