Title: EngineerTrooper's Replies | WordPress.org

---

# EngineerTrooper

  [  ](https://wordpress.org/support/users/engineertrooper/)

 *   [Profile](https://wordpress.org/support/users/engineertrooper/)
 *   [Topics Started](https://wordpress.org/support/users/engineertrooper/topics/)
 *   [Replies Created](https://wordpress.org/support/users/engineertrooper/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/engineertrooper/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/engineertrooper/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/engineertrooper/engagements/)
 *   [Favorites](https://wordpress.org/support/users/engineertrooper/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[OtFm Gutenberg Spoiler - (or FAQ) collapse block] More Colors in – Spoiler Color – menu](https://wordpress.org/support/topic/more-colors-in-spoiler-color-menu/)
 *  Thread Starter [EngineerTrooper](https://wordpress.org/support/users/engineertrooper/)
 * (@engineertrooper)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/more-colors-in-spoiler-color-menu/#post-11416999)
 * thx 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[OtFm Gutenberg Spoiler - (or FAQ) collapse block] More Colors in – Spoiler Color – menu](https://wordpress.org/support/topic/more-colors-in-spoiler-color-menu/)
 *  Thread Starter [EngineerTrooper](https://wordpress.org/support/users/engineertrooper/)
 * (@engineertrooper)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/more-colors-in-spoiler-color-menu/#post-11405110)
 * Yeah, thats right.
    Thats why i have a saving and maybe i find a way to approve
   the feature, with a more usebility friendly way.
 * On the other side i can add more colors with that way and can use them. I can
   select the colors in the dashboard of a post direct.
 * Do you know what i mean? A better way in the overlay to add more default colors?
   🙂
    -  This reply was modified 7 years, 2 months ago by [EngineerTrooper](https://wordpress.org/support/users/engineertrooper/).
    -  This reply was modified 7 years, 2 months ago by [EngineerTrooper](https://wordpress.org/support/users/engineertrooper/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[OtFm Gutenberg Spoiler - (or FAQ) collapse block] More Colors in – Spoiler Color – menu](https://wordpress.org/support/topic/more-colors-in-spoiler-color-menu/)
 *  Thread Starter [EngineerTrooper](https://wordpress.org/support/users/engineertrooper/)
 * (@engineertrooper)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/more-colors-in-spoiler-color-menu/#post-11403864)
 * Hello,
 * i found a more flexibel way to add a new color.
 * You have to add code in 4 files, but your way also worked for me 🙂
 * **-> editor-style.css**
 * /*Added in line 23*/
    .otfm-sp__009688 {border-color: #009688;} /*009688 is the
   ID equal to the HexCodeColor*/
 * /*Added in line 48*/
    .otfm-sp__009688 .otfm-sp__title {background-color: #009688;
   color:#fff;}
 * **-> bundle.js**
 * added in “colors” Array a new element with: ,{color:”#009688″,name:”19″}
 * and more below in a second Array the same code: ,{color:”#009688″,name:”19″}
 * **-> otfm-spoiler-min.css**
 * Added: .otfm-sp__009688{border-color:#009688}
 * and
 * Added: .otfm-sp__009688 .otfm-sp__title{background-color:#009688;color:#fff}
 * **-> otfm-spoiler.css**
 * /*Added in line 24*/
    .otfm-sp__009688 {border-color:#009688;}
 * /*Added in line 58*/
    .otfm-sp__009688 .otfm-sp__title{background-color:#009688;
   color:#fff;}
 * ——————————————-
 * You can add more colors with that way and with more scripts maybe add more styles
   via button control. (But i will try later for some practise.)
 * You can check out the result here [https://engineertrooper.com/faq/](https://engineertrooper.com/faq/)
 * Thx for help 🙂
    kind regards
    -  This reply was modified 7 years, 2 months ago by [EngineerTrooper](https://wordpress.org/support/users/engineertrooper/).
    -  This reply was modified 7 years, 2 months ago by [EngineerTrooper](https://wordpress.org/support/users/engineertrooper/).

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