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

How to apply downloaded theme to .Net core projec

3 Answers 199 Views
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 13 Jul 2018, 06:12 PM

can someone supply a complete set of instructions on how to apply the all.css and variables.scss files downloaded from the SASS Themebuilder to my .Net Core project

There seems to be no documentation regarding this for telerik ui for asp.net core

thanks

 

Jim

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 17 Jul 2018, 09:17 AM
Hi Jim,

Please take a look at the Sass Theme Builder section of the documentation which enlists the steps that need to be followed after creating and downloading the custom theme.

For your convenience I recorded a video demonstrating the procedure. Please make sure to delete your browser cache before testing the new theme.


Best regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Nick
Top achievements
Rank 1
answered on 24 Dec 2019, 07:07 AM

I'm trying out Telerik for the first time so apologies for the newbie question but it is relate to this. When I create a new Telerik Project from the Extension -> Telerik menu in Visual Studio for ASP.NET Core, the resultant project doesn't contain a lib/kendo-ui folder in wwwroot, only the bootstrap folder. 

Can you advise how to apply the custom theme in this scenario?

Thanks. 

 

0
Preslav
Telerik team
answered on 26 Dec 2019, 11:22 AM

Hello Nick,

Indeed, when a project is created, there is no "lib/kendo-ui" folder. This is because, by default, the project uses our CDN and has no local Kendo files.

To add the custom theme, you can create such a folder and register it in the "~/Views/Shared/_Layout.cshtml" file. More information about this is available here - https://docs.telerik.com/aspnet-core/getting-started/installation/getting-started-copy-client-resources. Once you include the custom theme, remove all other Kendo related styles from the "_Layout.cshtml" file.

I hope this helps.

 

Regards,
Preslav
Progress Telerik

Get quickly onboarded and successful with Telerik UI for ASP.NET Core with the dedicated Virtual Classroom technical training, available to all active customers.
Asked by
James
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Nick
Top achievements
Rank 1
Preslav
Telerik team
Share this question
or