1. Home
  2. Knowledge Base
  3. Document Library Pro
  4. Advanced Usage

Can I change the styling of the document library?

Document Library Pro comes with some built-in styling and is designed to look good with most themes. Where possible, it takes styles from your theme such as the fonts.

The plugin settings page includes options to set the following custom styles for the table layout:

  • Border color and line widths
  • Header background color
  • Cell background color
  • Header font color and size
  • Cell font color and size

The grid layout has options to change the tile background color and the category label background color.

If something doesn't look right then there may be an issue with your theme. For example, this might happen if the theme is badly coded or coded in a non-standard way. Try switching to a default theme (e.g. TwentySeventeen) to check whether it's a theme issue.

You may wish to style your tables in more specific ways. You can do this by adding custom CSS to your theme or child theme. (Never add it directly to the plugin.) Our developer documentation contains a list of CSS selectors that you can use.

Your WordPress developer will be able to restyle the table for you or you can post a job on Codeable, where their pre-approved WordPress experts will send you a price.

We've partnered with Codeable to provide our customers with expert help if required.

CSS selectors

If you would like to style the tables beyond the built-in styling options, you will need to add some additional CSS to your site. A good place to put this is in the Customizer, but you can also add this to a child theme.

Please refer to the list of CSS selectors for the plugin.

Related Articles

If searching the knowledge base hasn't answered your question, please contact support.