Title: Enqueue custom styles.
Last modified: August 3, 2026

---

# Enqueue custom styles.

 *  [Steve Pringle](https://wordpress.org/support/users/sipylus/)
 * (@sipylus)
 * [1 week, 3 days ago](https://wordpress.org/support/topic/enqueue-custom-styles/)
 * If WP_DEBUG is set to true in the **wp-config.php** file, it creates an error
   message with the theme.
 * Our fix, edit the function.php so that `wp_add_inline_style( 'bfastmag-style',
   bfastmag_inline_style() );` becomes ` bfastmag_inline_style();` then save.

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fenqueue-custom-styles%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/bfastmag/2.1/screenshot.png)
 * bFastMag
 * [Support Threads](https://wordpress.org/support/theme/bfastmag/)
 * [Active Topics](https://wordpress.org/support/theme/bfastmag/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/bfastmag/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/bfastmag/reviews/)

## Tags

 * [function.php](https://wordpress.org/support/topic-tag/function-php/)

 * 0 replies
 * 1 participant
 * Last reply from: [Steve Pringle](https://wordpress.org/support/users/sipylus/)
 * Last activity: [1 week, 3 days ago](https://wordpress.org/support/topic/enqueue-custom-styles/)
 * Status: not resolved