First you can verify that the less files are loaded : using the network
"profiler" of your preferred browser (usually in the network tab) you
should see every less file being fetched via an xhr request (ajax).
Then you should check if the variables.less file loaded contains the
modified values (direct access via the browser should suffice).
Lastly, you can see what the less compiler generated in one of the <style>
tag - using the HTML profiler or this : $('style[id*=less]').html()
Other than that, there may be some other rules overriding your changes : do
you have another css file included, like bootstrap.css ?
Just changing the @baseFontSize works for me.
On Wednesday, July 25, 2012 7:59:19 PM UTC+2, Viktor Iwan wrote:
>
> Hi thanks for your reply,
> in the reference it stated (i'm using javascript approach in my
> development):
> "
>
> To recompile the .less files, just save them and reload your page. Less.js
> compiles them and stores them in local storage.
> "
>
> This is why i playaround with variables.less, but i don't see changes when
> i reload... i think the previous css is on local storage, but i don't know
> how to delete them
>
>
> Pada Kamis, 26 Juli 2012 0:19:28 UTC+7, Sherbrow menulis:
>>
>> Hi,
>> You need to compile the less files once you have made modifications. The
>> changes do not reflect automatically on the .css files. See
>> http://twitter.github.com/bootstrap/less.html
>>
>> You can download a custom version of the css with your variables thanks
>> to this page http://twitter.github.com/bootstrap/download.html#variables
>>
>> Make sure you include the newly updated version of the css file.
>>
>> On Wednesday, July 25, 2012 10:42:22 AM UTC+2, Viktor Iwan wrote:
>>>
>>> Hello,
>>> i'm new to less and bootstrap, i have a problem where i change the
>>> variables in variables.less but the changes is not reflected on browser.
>>>
>>> For example i change @baseFontSize to 20px
>>>
>>> on browser, the font still display 13px;
>>>
>>> i already reset cache, but problem still arise
>>>
>>> plz help..
>>>
>>> Thanks
>>>
>>