WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. joshco
    Member
    Posted 1 year 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
    thx

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

  2. Paul G.
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic