cancel
Showing results for 
Search instead for 
Did you mean: 

After deploy the application in SAP Fiori Launchpad Style.css file is not loading ?

former_member198924
Participant
0 Kudos

Hi All,

I have deployed the application in fiori launchpad. After deployed the application in launchpad style.css file is not loading. But before deploy the application in launchpad style.css is working fine. Can you please suggest me.

maheshpalavalli
Active Contributor
0 Kudos

I hope you are providing the path for loading css in manifest.json.. if yes can u put a screenshot of that else how u r loading it?

nabheetscn
Active Contributor
0 Kudos

Since you have the path already in manifest.json can you please click on the error request and see from where it is trying to load the url that will give us bit of hint.

naseemvp007
Participant
0 Kudos

Hi Durai,

I also have the same problem. Were you able to fix this issue?
I could not find any answer here. That is why I thought of asking you.
Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

AbhishekSharma
Active Contributor
0 Kudos

Hi Durai,

Please try adding your css in Component.JS file.

metadata : {
includes: [
            "css/file1.css",
            "css/file2.css",
          ]
}

Thanks-

Abhishek

AbhishekSharma
Active Contributor
0 Kudos

Hi Durai,

Please add your css class reference in in your manifest.json file as suggested by Mahesh Kumar Palavalli as well.

"resources": {
"css": [
{"uri": "css/style.css"},{
"uri": "css/custcontrols.css"}]}

In case if you are using custom CSS then you might want to see below answer.

https://answers.sap.com/questions/664515/css-class-not-loading-in-fiori-launchpad.html

Hope this helps...

Thanks-

Abhishek

former_member198924
Participant
0 Kudos

I have define the css class reference in manifest.json file as you suggested, But it is not working still the same issue. I have mention my code below. Please check the manifest css class code and give your valuable suggestions.