Injecting CSS
This should work in any of the types of web pages generated by Legacy. It can be as easy as pasting the snippet below and adding a file named
site.css, or further customized as needed. The code snippet provides the ability to dynamically inject both JavaScript and Style Sheets into the Legacy generated web pages by making use of the
getScript and
getStyle methods respectively. Notice that the jQuery JavaScript library and a Style Sheet named
site.css are specifically being injected. Mimic these calls to inject additional files, or edit the name
site if you prefer. Again, if you'd rather not touch code, simply include a text file called 'site.css' in the root directory of your Legacy generated web pages, and add your custom rules (see example at the bottom).
To Use:
- Copy the Injection Script and paste into the header section of the Legacy 'Links' tab.
- Edit the code if so desired
- Create a site.css file, and include it with your other generated web pages
- Add style rules to your file
- Test on your favorite, or various browsers