Help! column cruiser - main.css not importing

Permalink
Just prior to backing up and allowing super users to add/correct content I updated the site and tried to stop the updates screen on admin logon by adding
define('ENABLE_MARKETPLACE_SUPPORT', false);
define('ENABLE_NEWSFLOW_OVERLAY', false);
to the /config/site.php.

Stupidly I didn't back the site.php file up first.

The site.php has been tidied and is now

<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'web122-a-concr-7');
define('DB_PASSWORD', 'xxxx);
define('DB_DATABASE', 'web122-a-concr-7');
define('BASE_URL', 'http://www.wealdofkentgymnasticsclub.org');
define('DIR_REL', '/concrete5');
define('PASSWORD_SALT', 'xxxx');
define('SERVER_PATH_VARIABLE', 'REDIRECT_URL');
define('PERMISSIONS_MODEL', 'advanced');
define('REDIRECT_TO_BASE_URL', false);
define('ENABLE_MARKETPLACE_SUPPORT', false);
define('ENABLE_NEWSFLOW_OVERLAY', false);
define('DIRNAME_APP_UPDATED', 'concrete5.5.2.1');

I have rolled back the database to the first working version with Superfish, Power Slider Lite and Ticker - no content, didn't fix it, uninstalled/reinstalled column cruiser, didn't fix it, have prepared a similar site and compared file by file but still can't see it.

http://www.wealdgymnastics.org/concrete5...

Symptoms

IE9 64 bit
won't set max/min width, Dashboard is half off the screen.
2 extra spaces appearing at top of page on View Source, the style import statements are also appearing as if in the body and not the head.

Chrome
No styles being loaded at all, dashboard works normally
Chromes "View Elements" reveals white space being loaded prior to header section so style import is appearing in the body section so won't work!!!

I'm sure it is something stupid like an unclosed "body" somewhere, but where? any ideas?

Thanks

 
tallacman replied on at Permalink Reply
tallacman
Remove this:

@charset "UTF-8";


from your main.css file and all will revert to normal.
wealdwebmaster replied on at Permalink Reply
Thanks, tried removing that, @charset "UTF-8"; from main.css, cleared cache, no change :(

That line appears at the start of all the .CSS files in Column Cruiser in the working version too, why suspect that if you don't mind me asking?

As far as I can make out...
header.php imports main.css, typography.css and links to patch_tcc.css
main.css imports layout.css. All these files and those associated with YAML have "@charset "UTF-8";" at the start and it is the same on the working site.

I have more questions than answers at the moment, sorry
tallacman replied on at Permalink Reply
tallacman
I removed that on a local copy and it worked. Can you send me a zip of your theme? I'll PM you my email address in case it’s a paid theme. You shouldn’t post that via a public thread.
wealdwebmaster replied on at Permalink Reply
Column Cruiser is free but it isn't the theme, to simplify debug I have applied a raw plain yoghurt theme and still have the problem, something (corruption maybe) or someone (me) has caused this in the core files, superfish, the slideshow lite or Ticker. I'll try removing each in turn and see if the problem goes away.
wealdwebmaster replied on at Permalink Reply
The difference now between Chrome and IE when viewing source is that the extra chars are appearing in the middle of line 1 and causing a new line, the Doctype seems to be reading OK, with IE the extras are at the start of the line and I suspect stopping the doctype being read properly... could do with more hours in the day to continue with this, but paid work has to come first :( I'll continue tomorrow.
wealdwebmaster replied on at Permalink Reply
Spurious Unix Characters inserted by editor at the start of View.html files, don't know which one yet but removal via Unix editor fixed the issue.