MyBB Community Forums

Full Version: myBB CSS media type limitations
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After much digging around, I see that myBB has an inherent CSS media type limitations, forcing you to you delete the {$stylesheets} declaration ans use your own manual one in the templates.

Example:
It does this: <link type="text/css" rel="stylesheet" href="/global.css" />
...and has no way for you to add this when adding a new stylesheet from within the theme admin: <link media="Screen" type="text/css" rel="stylesheet" href="/global.css" />

My question is: which php file renders the results from {$stylesheets}?

I came across this in my effort to make an auto-sensing stylesheet for the iPhone.

Also, it renders this:
<link type="text/css" rel="stylesheet" href="stylesheet=11" />

My question is:
What is "stylesheet=11", and where can I edit that?

Thanks!


I just submitted this as an "idea," please vote: http://ideas.mybboard.net/idea/theme-css-media-type