cancel
Showing results for 
Search instead for 
Did you mean: 

Example for using css url

Former Member
0 Kudos

Hi Experts,

Can anyone please give me an example of how to use CSS to modify the font, color of a web dynpro application . Your help is greatly appreciated.

Warm Regards

Sunil Kumar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

In our case we wanted to use the portal theme as a css url for the WD ABAP application

here is the way:

http://HOST:PORT/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/NAME_OF_THE_THE...

please let me know if it helps.

Kr,

Tamas

Former Member
0 Kudos

Do you provide this in the WDP abap application paramaters

I mean in the WDTHEMEROOT parameter like

WDTHEMEROOT = http://HOST:PORT/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/NAME_OF_THE_THE...

Also to use this is it compulsory to run the WDP applicaiton on the portal or we can run it stand alone using the WAS.

Thanks for your help

Former Member
0 Kudos

Yes into WDTHEMEROOT, and yes it is for standalone mode (direct access).

also possible to put it to a url parameter like:

sap-cssurl

http://AWAS_HOST:PORT/sap/bc/webdynpro/sap/ABAP_WD?&sap-cssurl=http://PORTAL_HOST:PORT/irj/portalapp...

Kr,

Tamas

Former Member
0 Kudos

Thanks Tamas. Full points assigned.

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You shouldn't modify the CSS files directly. Instead use the Portal Theme Editor or the Standalone Theme Editor. For more information on the standalone theme editor:

https://www.sdn.sap.com/irj/sdn/index?rid=/library/uuid/502e9e64-585e-2c10-b7b6-b3ba1214f06e