MyBB Community Forums

Full Version: Can´t see global.css.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2012-01-01, 01:59 PM)roggers Wrote: [ -> ]Why not try @import ?


I can try , but how to do that.

Ty
you do not have to switch back to phpBB just for not seeing global.css in source code !!

somehow you are getting the stylesheets code thru css.php file { eg. global.css }
http://sf.jphosting.net/cache/themes/theme11/global.css does not exist.

Go through the stylesheets in the ACP one by one, don't change anything and just save them.
(2012-01-01, 03:22 PM)Alan Shepperson Wrote: [ -> ]http://sf.jphosting.net/cache/themes/theme11/global.css does not exist.

Go through the stylesheets in the ACP one by one, don't change anything and just save them.
Here is the result.....lolSad

<link type="text/css" rel="stylesheet" href="http://sf.jphosting.net/css.php?stylesheet=6" />
<link type="text/css" rel="stylesheet" href="http://sf.jphosting.net/css.php?stylesheet=7" />
<link type="text/css" rel="stylesheet" href="http://sf.jphosting.net/css.php?stylesheet=8" />
<link type="text/css" rel="stylesheet" href="http://sf.jphosting.net/css.php?stylesheet=9" />
<link type="text/css" rel="stylesheet" href="http://sf.jphosting.net/cache/themes/theme2/showthread.css" />
use your FTP client and chmod cache/themes to 755. Also if you see a checkbox that has something like "Recurse into subdirectories" check it.
(2012-01-01, 04:49 PM)Booher Wrote: [ -> ]use your FTP client and chmod cache/themes to 755. Also if you see a checkbox that has something like "Recurse into subdirectories" check it.

Ty , but this trick don´t work.I have to give some one full permissions to check this out.This is all i can do.
Post your Admin and FTP login details in the Private Inquiries forum if you want a staff member to take a look. Smile
(2012-01-01, 06:37 PM)Alan Shepperson Wrote: [ -> ]Post your Admin and FTP login details in the Private Inquiries forum if you want a staff member to take a look. Smile

Thank you .

Thx for all help , but i think i switch back to phpbb.This is weird.
So no one can help me with this issue.What should i do ?
The problem you are describing is caused by the cache and/or the cache/themes folder not being writable to the server and its not a problem as such, its MyBB being intelligent.

The reason you are not seeing a global.css in your source is because MyBB could not write to the cache/themes folder which is where it caches/writes the css files from where they are loaded, so instead of throwing an error or not loading the css and hence messing up your theme what mybb does is use the css.php file to send out the css. If you open http://sf.jphosting.net/css.php?stylesheet=1 in a browser you will see it contains your css.

So bottom line, if you want to see the global.css being called in the source then make your cache and cache/themes folder writeable, otherwise it will use the css.php file to generate the css.
Pages: 1 2