I created a css file that was meant to be for 1 profound application file. I saved it in
profoundui_docs/userdata/custom/css/custom.css
In the visual designer i reference it. Works fine.
But it has come to my attention that the css rules are being picked up in other profound programs, regardless if the program is referencing it in the file. Am I setting this up wrong or something else?
If need more information please let me know what you need.
External CSS being applied to all programs
-
- Profound User
- Posts: 36
- Joined: Fri Jul 17, 2020 12:52 pm
- First Name: Jason
- Last Name: Guzik
- Company Name: 3Linc
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: External CSS being applied to all programs
I'm not sure what "profoundui_docs" is... but, assuming it is the IFS directory of a profoundui instance, then anything beneath 'userdata/custom' will be picked up automatically by
Does this answer your question?
Assuming you want this to show both when the application is running and when in the Visual Designer, I would suggest you do indeed want it loaded in all of the above scenarios (and in Genie, too!). If it is conflicting with other things, then I would recommend creating a more specific CSS selector so that it doesn't affect anything but the desired screen.
- The Visual Designer
- Programs run via the /profoundui/start or /profoundui/auth/start URL
- Programs run via Atrium's Rich Display launcher.
Does this answer your question?
Assuming you want this to show both when the application is running and when in the Visual Designer, I would suggest you do indeed want it loaded in all of the above scenarios (and in Genie, too!). If it is conflicting with other things, then I would recommend creating a more specific CSS selector so that it doesn't affect anything but the desired screen.
Who is online
Users browsing this forum: No registered users and 0 guests