Menu

Where should I add Custom CSS?

+1 vote

What steps are required to start adding custom CSS to dbFront?

in Customization by (7.4k points)

1 Answer

0 votes
 
Best answer

dbFront allows you to specify a custom CSS file for the installation or you can specify a custom CSS file for individual Database applications.

You would start with a blank CSS file and add the CSS changes you want to make to your current Site or Database application.

Site CSS File

The Site CSS file is always loaded by dbFront and allows you to affect your entire install of dbFront. To setup a site CSS file you would:

  • Open the settings [Help] / [Settings] / [Website],
  • Set "Site Css File" to the value "css/customSite.css",
  • Create or edit the CSS file c:\inetpub\dbFront\css\customSite.css.

Database specific CSS File

It is also possible to use a database specific CSS file. The same CSS file can be used for multiple databases.

  • Open the Database Preferences,
  • Set the "Custom CSS File" to something like "css/dbFinance.css",
  • Create or edit the CSS file c:\inetpub\dbFront\css\dbFinance.css.
by (65.2k points)
edited by
Welcome to the dbFront Q&A site, where you can ask questions and receive answers from other members of the community.
 | Minimalist Answer Theme by Digitizor Media
 |
Powered by Question2Answer
...