Quantcast
Channel: SCN : All Content - SAP for Mobile
Viewing all articles
Browse latest Browse all 6147

Custom CSS and Images

$
0
0

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


Viewing all articles
Browse latest Browse all 6147


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>