How to include CSS in UI Pages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2022 04:38 AM
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>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2022 04:42 AM
hello
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2022 05:53 AM
Thanks
I have to include multiple css file and they are too huge so I cant put the CSS in UI Page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2022 06:03 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022 11:24 PM
I tried this but it's not working.