Support » Plugin: WordPress Twitter Bootstrap CSS » Custom Less in my theme

  • Resolved joshco

    (@joshco)


    My Hope:
    That I can use a custom.less in my theme directory and have this plugin handle compilation info custom.css
    in hlt-bootstrap-less near line 333, it determines what file to compile.
    If you put additional code eg
    if exists themedir/custom.less {
    compileFile ( themedir/custom.less)
    }

    then I could add custom.css include to my theme header css

    The plugin could automate this
    thx

    http://wordpress.org/extend/plugins/wordpress-bootstrap-css/

Viewing 1 replies (of 1 total)
  • Plugin Author Paul G.

    (@paultgoodchild)

    Hi,

    Thanks for the suggestion.

    This plugin deals with the Twitter Bootstrap plugin and LESS compiling the CSS. If you need a custom solution for your theme, you can alter the code directly as you have suggested to achieve the result you need.

    You may also edit the Bootstrap variables.less to include your custom less file if you wish, but I wont be updating the plugin for everyone to custom fit this to your theme. Sorry.

    Best approach: edit the variables.less and use the correct button on the compiler page to use your customizations. Ensure that you backup this variables.less before you do a plugin upgrade as you will lose customizations.

    Many thanks,
    Paul.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Less in my theme’ is closed to new replies.