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

How to remove Ribbon's top white space above the tabs?

Hi, which CSS attribute removes the white area above the ejRibbon tabs (highlighted red in the screenshot attachment)?



Attachment: Ribbon_Top_Highlighted_e1b80d14.zip

2 Replies

KN Kavitha Narayanan Syncfusion Team June 7, 2016 10:50 AM UTC

Hi James, 
 
Thank you for contacting Syncfusion support. 
 
Query: which CSS attribute removes the white area above the ejRibbon tabs  
 
We used padding-top CSS property to remove the white space of the Ribbon control. 
 
Please refer to the code and sample. 
 
 
.row .cols-sample-area { 
            padding-top: 0px; !important; 
        } 
 
 
 
Regards, 
Kavitha N. 
 



KN Kavitha Narayanan Syncfusion Team June 7, 2016 11:08 AM UTC

Hi James, 
 
Please ignore the previous update. 
 
Query: which CSS attribute removes the white area above the ejRibbon tabs  
 
We have set height and margin top to the Ribbon header for remove the white area. 
 
Please refer to the code and sample. 
 
 
<style> 
        .e-ribbon .e-header>li{ 
            margin-top: 0px !important; 
        } 
        .e-ribbon.e-js>.e-header{ 
            height: 33px; 
        } 
        </style> 
 
 
 
Regards, 
Kavitha N. 
 
 
 


Loader.
Live Chat Icon For mobile
Up arrow icon