Title: Custom CSS messiness
Last modified: June 4, 2022

---

# Custom CSS messiness

 *  Resolved [Gator8](https://wordpress.org/support/users/gator8/)
 * (@gator8)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/custom-css-messiness/)
 * After the long covid winter, our league has picked itself back up. That means
   the best part of the year for me — setting up the new season.
    Since our league
   was last in operation, there have been a number of Sportspress updates. One of
   those updates, at some point, messed up the formatting of the Custom CSS box.
 * > [View post on imgur.com](https://imgur.com/a/zKDdqxQ)
 * I’ve copied the entire block to an external editor, re-formatted the script and
   then copied the formatted version back tom Sportspress and hit Save Changes.
   
   Doesn’t matter. Still looks like crap. I’ve cleared cache. Tried Chrome, Firefox,
   and Edge.
 * Has anyone seen his before?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/custom-css-messiness/#post-15716510)
 * Hi there!
 * Thanks for your reply.
 * I’m able to reproduce this.
 * It’s likely that the functions added to sanitize tags are removing the line breaks.
 * I couldn’t find an easy fix for this, so if this is a high priority for you, 
   you could use a plugin such as code snippets to quickly add CSS code with your
   desired formatting.
 * In the meantime I’ll keep looking for a fix and we can raise a bug report to 
   our dev team.
 * Thanks!
 *  Thread Starter [Gator8](https://wordpress.org/support/users/gator8/)
 * (@gator8)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/custom-css-messiness/#post-15717130)
 * Not a high priority. A bit of an inconvenience, but I can work around it for 
   now. Thanks for your help.
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/custom-css-messiness/#post-15718724)
 * You’re most welcome!
 * Let us know if you need anything else.
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom CSS messiness’ is closed to new replies.

 * ![](https://ps.w.org/sportspress/assets/icon-256x256.png?rev=1252005)
 * [SportsPress - Sports Club & League Manager](https://wordpress.org/plugins/sportspress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sportspress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sportspress/)
 * [Active Topics](https://wordpress.org/support/plugin/sportspress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sportspress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sportspress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Roch](https://wordpress.org/support/users/rochesterj/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/custom-css-messiness/#post-15718724)
 * Status: resolved