How to include CSS in UI Pages

Afaq Sheikh
Kilo Explorer

Hi,  I am having issue in UI pages and CSS. I include the css into my UI Page but it is not working. Please help me. Given bellow is the link I include in my UI page.  

<link href="c2b56fae2fe11110b1f7857cf699b6a6.cssdbx" rel="stylesheet" type="text/css" ></link>

5 REPLIES 5

Mohith Devatte
Tera Sage
Tera Sage

hello @Afaq Sheikh ,

can you try copying the CSS in the style sheet and put it in between style tags like below 

<style>

your copied CSS

</style>

You need to do this in HTML part of the UI page with above syntax .

Hope this helps 

PLEASE MARK MY ANSWER CORRECT IF THIS HELPS YOU

Thanks @Mohith Devatte 

I have to include multiple css file and they are too huge so I cant put the CSS in UI Page.

@Afaq Sheikh ,

then do one thing 

in the link tag it self instead of giving sys_id of the style sheet give the name of the style sheet like below 

<link href="name_of_style_sheet.cssdbx" rel="stylesheet" type="text/css" ></link>

I hope you have stored your style sheet in style sheet table 

if yes the above solution works

Mark my answer correct if this helps you

 

@Mohith Devatte 

I tried this but it's not working.