bootstrap5.css is empty

If I add this line

<link rel='nofollow' href="_content/Syncfusion.Blazor.Themes/bootstrap4.css" rel="stylesheet" />

I get an empty bootstap5.css. I´m using Syncfusion.Blazor.FileManager v20.1.0.52



If I change it to bootstrap4 I get content and everything is styled fine.


1 Reply

KR Keerthana Rajendran Syncfusion Team May 9, 2022 01:34 PM UTC

Hi Sturla,


Greetings from Syncfusion support.


We checked the File Manager component rendering with both bootstrap4 and bootstrap5 CSS references which are working fine. We suggest you add the single required theme reference alone in your sample. For example, if you need bootstrap5.css, then add only those references in the sample.


For your reference, we have attached the File Manager sample in both themes.


Bootstrap4 sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorFileManagerBootStrap4693205787.zip


Bootstrap5 sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorFileManagerBootstrap5-226206635.zip


UG link: https://blazor.syncfusion.com/documentation/appearance/themes#reference-themes-in-blazor-application


Please let us know if you need any further assistance.


Regards,

Keerthana R.


Loader.
Up arrow icon