Title: Move CSS to file
Last modified: August 22, 2016

---

# Move CSS to file

 *  [cinemafunk](https://wordpress.org/support/users/cinemafunk/)
 * (@cinemafunk)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/move-css-to-file/)
 * I’d like to see this plugin move the CSS to a file rather than inline. Is this
   something that’s possible?
 * [https://wordpress.org/plugins/collapsing-categories/](https://wordpress.org/plugins/collapsing-categories/)

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

 *  [Chadwickhugh](https://wordpress.org/support/users/chadwickhugh/)
 * (@chadwickhugh)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/move-css-to-file/#post-5275972)
 * I think I am experiencing the same issue. I attempted to edit using the normal
   custom style sheet, but the styles associated with this widget are being pulled
   inline, and overwriting anything I did in the custom style file.
 *  [Alexandra Enniss](https://wordpress.org/support/users/aenniss/)
 * (@aenniss)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/move-css-to-file/#post-5275973)
 * Hmm… odd, i don’t have this problem.
    On the widget page there is option to choose[
   Style: No arrows] and it generates pretty clean html with CSS tags that have 
   no style applied to them. I was able to style very nice looking menu using my
   own code in style.css file.
 *  [Chadwickhugh](https://wordpress.org/support/users/chadwickhugh/)
 * (@chadwickhugh)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/move-css-to-file/#post-5275974)
 * Alexandra,
 * It is applying styles, they are just held in collapsing-categories/collapsCatStyles.
   php and inserted into your index file rather than linking to a separate .css 
   file.
 * I was able to style my categories menu, but it required editing the collapsCatStyles.
   php file. You can find it using the plug-in editor on your admin page.
 *  [dj.cowan](https://wordpress.org/support/users/djcowan/)
 * (@djcowan)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/move-css-to-file/#post-5275998)
 * We are also having issues with the injected CSS. Long chain, ID specific style
   selectors flagged as !important are very difficult to override and require even
   longer chained – or more specific – CSS classes to override. This makes code 
   consistency and maintenance difficult. Additionally we don’t see changing or 
   rewriting third-party plugin code as a good practice.
 * Example of css printed into the document head:
 *     ```
       #widget-collapscat-4-top li.collapsing.categories.item:before {
       content: '0BB 0A0' !important;
       }
       ```
   
 * Whilst the preset CSS options provided by the plugin are generally usable – the
   flexibility offered by overwritable styles would be greatly appreciated.
 *  [Giorgio25b](https://wordpress.org/support/users/giorgio25b/)
 * (@giorgio25b)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/move-css-to-file/#post-5276035)
 * Any update on this feature?
 * Did anybody found a smart solution yet?
 *  [DareDevil73](https://wordpress.org/support/users/daredevil73/)
 * (@daredevil73)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/move-css-to-file/#post-5276043)
 * I need the same feature too keep lighter the HTML, thank you!
 *  [drakcore](https://wordpress.org/support/users/drakcore/)
 * (@drakcore)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/move-css-to-file/#post-5276046)
 * Anyone found a solution for this? Also having huge issues with my theme style
   messing with it.

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

The topic ‘Move CSS to file’ is closed to new replies.

 * ![](https://ps.w.org/collapsing-categories/assets/icon-256x256.gif?rev=2886482)
 * [Collapsing Categories](https://wordpress.org/plugins/collapsing-categories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/collapsing-categories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/collapsing-categories/)
 * [Active Topics](https://wordpress.org/support/plugin/collapsing-categories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/collapsing-categories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/collapsing-categories/reviews/)

 * 7 replies
 * 7 participants
 * Last reply from: [drakcore](https://wordpress.org/support/users/drakcore/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/move-css-to-file/#post-5276046)
 * Status: not resolved