Unable to clear less cache?

Permalink Browser Info Environment
Hello,
I'm now working into doing some simple updates to the Verdana them, namely typography changes like increased body font size and line height.
I've got those updates made in the packages/theme_verdana/themes/verdana/css/presets/organic.less
For reference, it commented out the original settings with //
(I'm new to .less btw)
Then updated with my own.
I Cleared Cache, Cache settings are in developer mode still (Less Cache is off).
But I'm not seeing my changes take effect.
Nor can I find via google a tut that shows how to recompile the .less CSS file.
Any advice?

Type: Pre-Sale
Status: In Progress
PatrickHenry
View Replies:
sebastienj replied on at Permalink Reply
sebastienj
No, your way is the right way.
Try to locate with the web-inspector (in chrome, firefox or Safari) witch rule have effect on your text. It's perhaps a rule from Bootstrap that you will need to change.
PatrickHenry replied on at Permalink Reply
PatrickHenry
Yeah, that's how I tracked it down.
Web inspector is showing me the following on the body tag, set in main.css, line 1772
body {
font-family: PT Sans;
font-size: 1.3rem;  // I want this to be 1.8rem
line-height: 2; // and this to be 1.6
font-weight: 300;
color: #29221b;
}


I then tracked those down to /presets/organic.less, where I revised like this:
LINE 52:
//v0: @body-type-font-size:    1.3rem;
         @body-type-font-size:    1.8rem;
LINE 141: 
//v0: @line-height-base:        2; 
   @line-height-base:        1.6;


Pretty simple changes, based on what I've learned in the excellent book "On Web Typography" by Jason Santa Maria for A Book Apart (love those books).
I like the default typography, but there's some important things I learned from that book that I wanted to apply to the typography here.
Not sure why it won't update?
Should I remove out the commented out "//v0:" lines? I left them there for reference, didn't think it would cause an issue, but maybe?
Any ideas?

Also, I just edited them directly in the packages/verdana_theme folder.
While I've been working with c5 since 2008, I'm still foggy on how to properly override a package theme.
Is there a better way for me to use to just override it w/o touching the original?
PatrickHenry replied on at Permalink Reply
PatrickHenry
Okay, I'm really confused now.
I went thermo nuclear on it, and it's still not working.
I tracked down main.css to /application/files/cache/css/verdana/main.css
Made a backup of it (just in case) then deleted it.
Refreshed the site thinking this would force .less to recompile with my updates in place.
It recompiled, created a new main.css file, but it's still got the old settings!

So then, I opened the new main.css file, and manually updated those 2 CSS tags. Saved.
Refreshed. Still the old settings show.
I'm using Safari 6.2.5 and have Disabled Cache activated and cleared the cache every time.
So now I'm totally lost as to why nothing seems to work.
Any ideas?
PatrickHenry replied on at Permalink Reply
PatrickHenry
When I said I emptied the cache every time, I was referring to the browser cache.
Realized I might should empty c5's cache too.
So I did.
checking /files/cache that seems to work properly.
All cache files were gone, including /css/verdana/main.css
Visited the page, saw the cache rebuild.
main.css till has the old settings.
Manually updated it just to see.
No dice.
Seems to be some quirk in the cache somewhere.
Thoughts?
PatrickHenry replied on at Permalink Reply
PatrickHenry
I may have found the issue, but not sure what's causing it.
I noticed Web Inspector was showing 8 errors.
Checked those, and they're all the same:
Error: Failed to load resource: the server responded with a status of 404 (Not Found) (css, line 0)
http://www.site.com/packages/theme_vedana/themes/vedana/css/


That folder is obviously there. Double checked via SFTP to be sure.
Not sure what's causing the error tho.
Does this help?
MeisterCoach replied on at Permalink Reply
I'm having the same issues. I have the latest version of Conrete5. Cleared cache and all. It keeps using the old cached main.less file.
MeisterCoach replied on at Permalink Reply
I'm having the same issues. I have the latest version of Conrete5. Cleared cache and all. It keeps using the old cached main.less file.
sebastienj replied on at Permalink Reply
sebastienj
The last version fix these issues about blank links.
sebastienj replied on at Permalink Reply
sebastienj
I know that if the Core Version is 5.7.3.1 they are bugs about css cache.
If you are using last concrete version, you must disable concrete cache (all settings to off) and the best is to disable browser cache too.
I'm working like this when i'm developing theme and all is good.

BUT

When the site or a page doesn't use the default preset, customization is hell. this come from Concrete5 not VEdana or other theme.
So the best is to work on the default preset (you can copy all the code from another preset)
tabercreative replied on at Permalink Reply
tabercreative
Did you ever figure this out? I am having the same issue.

The only way to recompile the theme preset .less is to select another present then reselect said preset and save.
MeisterCoach replied on at Permalink Reply
I solved my issue. My webhost used a separate caching system. Cleared that cache and problem solved.
PatrickHenry replied on at Permalink Reply
PatrickHenry
I've updated to the latest version and this no longer seems to be an issue at all.

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.3.1
Version Installed - 5.7.3.1
Database Version - 20150109000000

# concrete5 Packages
ExchangeCore reCAPTCHA (0.9.0), File Reader (2.0.1), Vedana Theme (1.0).

# concrete5 Overrides
languages/ja_JP, languages/tr_TR, languages/ru_RU, languages/da_DK, languages/fr_FR, languages/fi_FI, languages/sl_SI, languages/sv_SE, languages/de_DE, languages/it_IT, languages/el_GR, languages/nl_NL

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.12 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 mod_fcgid/2.3.9

# Server API
cgi-fcgi

# PHP Version
5.4.39

# PHP Extensions
apc, bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, hash, iconv, imap, json, libxml, mbstring, mcrypt, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, sockets, SPL, sqlite3, standard, suhosin, tokenizer, xml, xmlreader, xmlwriter, zip, zlib.

# PHP Settings
max_execution_time - 120
apc.max_file_size - 1M
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 120
max_input_vars - 1000
memory_limit - 256M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 128M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
suhosin.cookie.max_array_depth - 50
suhosin.cookie.max_array_index_length - 64
suhosin.cookie.max_name_length - 64
suhosin.cookie.max_totalname_length - 256
suhosin.cookie.max_value_length - 10000
suhosin.cookie.max_vars - 100
suhosin.executor.include.max_traversal - 0
suhosin.executor.max_depth - 0
suhosin.get.max_array_depth - 50
suhosin.get.max_array_index_length - 64
suhosin.get.max_name_length - 64
suhosin.get.max_totalname_length - 256
suhosin.get.max_value_length - 512
suhosin.get.max_vars - 100
suhosin.log.phpscript.is_safe - Off
suhosin.memory_limit - 0
suhosin.post.max_array_depth - 50
suhosin.post.max_array_index_length - 64
suhosin.post.max_name_length - 64
suhosin.post.max_totalname_length - 256
suhosin.post.max_value_length - 1000000
suhosin.post.max_vars - 1000
suhosin.request.max_array_depth - 50
suhosin.request.max_array_index_length - 64
suhosin.request.max_totalname_length - 256
suhosin.request.max_value_length - 1000000
suhosin.request.max_varname_length - 64
suhosin.request.max_vars - 1000
suhosin.session.max_id_length - 128
suhosin.upload.max_uploads - 25

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.5.17 (KHTML, like Gecko) Version/6.2.5 Safari/537.85.14

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.