WordPress Twitter Bootstrap CSS
[resolved] Custom Less in my theme (2 posts)

  1. joshco
    Posted 3 years ago #

    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


  2. Paul G.
    Plugin Author

    Posted 3 years ago #


    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,

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Twitter Bootstrap CSS
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic