Hi Stefan,
well the plugin is not designed to upload custom themes yet. The css files in the views/ directory are special templates wich are used to generate custom themes – changing these files will cause an unexcepted behaviour.
the currently best option is the following:
1. Instead of using the naming-scheme **_your_theme_name**EnlighterJS for the CSS classes, just use **EnlighterJS** – this will overwrite all theme settings
2. Add your Enlighter-Theme manually to your WordPress Theme as well as the EnlighterJS base styles
3. Go to the Enlighter Settings Page -> CDN
4. Deactivate the CSS Loading Checkbox
i will try to add an option to the next release which allows the use of custom themes (maybe an additional direcetory) and take a look onto the theme-customizer to check the background-color-issue.
thank’s for your contribution & best reagards,
Andi
Okay, thanks for the quick reply. Another thing I noticed is that code does not wrap unless there is whitespace in the code’s line. I noticed that white-space:pre-wrap was used so it should, but for some reason it isn’t. Any idea’s?
Hi,
i’ve added an option to the upcoming release v2.3 to add custom themes: you have to create a directory named enlighter/ into your WordPress’ theme directory. All CSS files into these “magic” directory are handled as themes and will be added to the dropdown-menus.
Currently, i can’t reproduce your described word-wrap behaviour – everything works as excepted within the testcases – maybe another stylesheet overrides the EnlighterJS styles ? Maybe you could provide a testcase ?
best reagrds, Andi
fyi: External theme support is available in Enlighter v2.3