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

menu on panelbar

1 Answer 42 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
kmv
Top achievements
Rank 1
kmv asked on 14 Aug 2009, 10:15 PM
as per the example i have a menu on a panel bar but my panelbar is set to fully expanded ...


so my menu sits at the top of the panel bar ... i want the rest of the panel to have the same back color as the mneu so with a bit of css
<style type="text/css">     
        .RadPanelBar .rpLevel1 .rpFirst     
        {     
            padding-top: 0 !important;     
            padding-bottom: 0 !important;     
            height: 100% !important;     
        }     
        .RadPanelBar .rpGroup .rpLink,     
        .RadPanelBar .rpGroup .rpTemplate     
        {     
            height: 100% !important;     
        }     
    </style> 

i increase the size of the panel then put a div round the menu with the backcolor set.

unfortunately my css affects allthe panel items and ruins the display of all the other items ...


any ideas of how to just affect the one panelbar my menu sits on


thanks
kevin

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 20 Aug 2009, 12:30 PM
Hello kmv,

Here's a sample code snippet that shows the needed approach.

.RadPanelBar, 
.RadPanelBar .rpSlide, 
.RadPanelBar .rpGroup, 
.RadPanelBar .rpTemplate 
    overflow:visible !important; 
    background-color: Red !important; 


Sincerely yours,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
PanelBar
Asked by
kmv
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or