Title: [Plugin: OptionTree] Using the &#039;Background&#039; option
Last modified: August 20, 2016

---

# [Plugin: OptionTree] Using the 'Background' option

 *  [sabahat](https://wordpress.org/support/users/sabahat/)
 * (@sabahat)
 * [14 years ago](https://wordpress.org/support/topic/plugin-optiontree-using-the-background-option/)
 * Can anyone explain how to integrate the ‘background’ option in a theme? While
   I love this theme, and have no issues with the most part, the whole custom css
   section escapes me.
 * I’ve added this to dynamic.css, with no results:
 *     ```
       body {
         {{custom_bg_css}}
       }
       ```
   
 * I also called the file ‘dynamic.css’ in the header manually, but the database
   won’t populate the css fields. When I view the source, it picks up dynamic.css,
   and the body tag, but all I get are empty tags:
 * `body { }`
 * I would really appreciate it if someone could tell me how to use the custom css
   option in this plug-in.
 * Thanks in advance.
 * [http://wordpress.org/extend/plugins/option-tree/](http://wordpress.org/extend/plugins/option-tree/)

Viewing 1 replies (of 1 total)

 *  [tdschrock](https://wordpress.org/support/users/tdschrock/)
 * (@tdschrock)
 * [14 years ago](https://wordpress.org/support/topic/plugin-optiontree-using-the-background-option/#post-2697239)
 * You need to add a custom css field in the options for OptionTree, then add your
   code to the settings of that field. OptionTree will automatically write the dynamic.
   css properly.
 * This will be very similar to the using the Typography field as I discovered tonight:
   [http://wordpress.org/support/topic/plugin-optiontree-retrieving-typography-values?replies=3](http://wordpress.org/support/topic/plugin-optiontree-retrieving-typography-values?replies=3)

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: OptionTree] Using the 'Background' option’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/option-tree_363534.svg)
 * [OptionTree](https://wordpress.org/plugins/option-tree/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/option-tree/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/option-tree/)
 * [Active Topics](https://wordpress.org/support/plugin/option-tree/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/option-tree/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/option-tree/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [tdschrock](https://wordpress.org/support/users/tdschrock/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/plugin-optiontree-using-the-background-option/#post-2697239)
 * Status: not resolved