But I don't see a way to include this in SBM Composer, any idea for this?
Accepted AnswerDerek LauwOnline0
David Sheaffe wrote:
<link rel="stylesheet" type="text/css" href="/styles/custom.css" />
Edit the href to point to where you have saved your css file.
Well, this is acceptable but i would like it to be maintained on Application Repository so i don't need to deploy it separately, any idea with that?
Hafiz Aimaq2 weeks agoYou can also create a form extension with the following in the definition
In the extension, add css and js folders, add files and now the stylesheet or js file is automatically loaded.
Another thing you could do is create the extension with empty definition. Within the extension, you can add your assets which will always accompany your msd.
Add head.min.js in your form and then you can load asset as needed through form actions:
Accepted Answeryuvaraj JOffline0Hi,
You can't apply different stylesheets to different parts of a page. You have a few options:
The best is to wrap the different parts of the page in divs with class names:
this will make all links inside an element with id section1 be red, and all links inside an element with id section2 be blue..
<a href="#">i will be red</a>
<a href="#">i will be blue</a>
So, Use different class for each part in your web page and customize the CSS code for each class.