cancel
Showing results for 
Search instead for 
Did you mean: 

Custom CSS and Images

former_member198357
Participant
0 Kudos

Dear All,

I have created my own CSS and also I am using some images for my application.  I have put everything under webcontent folder as shown below.

Webcontent

     myCSS

          custom.css

     myImages

          comp_logo.gif

I have also add following in my APP:

For CSS:

includes: [ "myCSS/custom.css" ] - at my component level

<link href="stylesheet" type="text/css" src="myCSS/custom.css"

For images:

<images src="myImages/comp_logo.gif">

If I am running my application stand alone (without launchpad) then everything is working fine. But If I am running my application in FIORI launchpad then it is showing error that above files are not found.

CSS not found under /resources/myCSS/custom.css

Image to found under /ushells/ABAP/myImages/comp_logo.gif

Could anyone please help on this.

Regards,

Bhavin

Accepted Solutions (0)

Answers (1)

Answers (1)

agentry_src
Active Contributor
0 Kudos

Hi Bhavin,

Are you using Theme Designer to make those modifications?  I would suggest that you do so.  Launchpad creates the theme (basically your css files) at the time Launchpad is initialized and then cascades the settings to each application that is executed from Launchpad.  Take a look at Launchpad's bootstrap section.

Regards, Mike

SAP Customer Experience Group - CEG

former_member198357
Participant
0 Kudos

Hi Michael,

Thanks for the info.

Actually, I was using SAP theme designer only for the same but it is giving some weired issue and I have already raised OSS for the same to SAP.

I am waiting for the reply on this and hope that it will be solved.

Regards,

Bhavin