EngineerTrooper
Forum Replies Created
-
thx ??
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 5 years, 11 months ago by EngineerTrooper.
- This reply was modified 5 years, 11 months ago by EngineerTrooper.
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/
Thx for help ??
kind regards- This reply was modified 5 years, 11 months ago by EngineerTrooper.
- This reply was modified 5 years, 11 months ago by EngineerTrooper.