CSS Linking

I am not getting the css file linked. from where should i use css files.

1 Reply

KR Keerthana Rajendran Syncfusion Team November 8, 2017 11:52 AM UTC

Hi Pradeep,   
   
Thank you for contacting Syncfusion Support.   
   
We can link css file by adding the stylesheet path in styleUrls of ts file as shown below   
   
import { Component ,ViewEncapsulation } from '@angular/core';   
   
@Component({   
    selector: 'ej-app',   
    templateUrl: './menu.component.html',   
    styleUrls: ['./menu.component.css'],   
    encapsulation: ViewEncapsulation.None,   
})   
   
   
Please modify this path based on your sample. We have attached a web pack menu sample for your reference with stylesheet referred to it. Please download the sample from:   
   
   
We have provided a sample for referring external stylesheet in sample based on our understanding. If we have misunderstood, please provide us details on whether themes are not referred in your sample. Share us a screenshot or video to showcase the issue so that we can proceed further.   
   
Regards,   
Keerthana.   


Loader.
Up arrow icon