• Resolved stefandunn

    (@stefandunn)


    Hi,

    I am trying to create a new theme, Monokai, but am not sure where to upload the .css file. I have uploaded it into views > themes but it doesn’t show in the drop-down menu.

    Could you let me know the best way of doing this? Also, the Theme Customiser does not allow you to modify the background colour of the code when not in RAW-Mode.

    Thanks,
    Stefan

    https://www.ads-software.com/plugins/enlighter/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Andi Dittrich

    (@andi-dittrich)

    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

    Thread Starter stefandunn

    (@stefandunn)

    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?

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    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

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    fyi: External theme support is available in Enlighter v2.3

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Install new theme’ is closed to new replies.