joshco
Member
Posted 6 months 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/
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.