MyBB Community Forums

Full Version: css code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
helo friends.

I want to ask. how to take a css stylesheet tag made ​​himself into a new template?

I want to move the css code on global.css to mycode.css.

please help.
Upload your mycode.css in your site. (Assume you have uploaded it in a folder "CSS" located at the root of your site.

Open template of your theme:
Ungrouped Templates > headerinclude

find the code:
{$stylesheets}

Add just after that:
<link type="text/css" rel="stylesheet" href="CSS/mycode.css" />
thanks effone.


What if I make it in the admin panel .. how to call css code tag it ?
effone's suggestion is not needed, you can do it through ACP like on screen.

1. Click Add Stylesheet
2. In file name input write:
blablayourname.css
So anything ending with ".css".
3. Attach it globally (will be available where global.php is) or add specific files and actions.
4. Choose "Write my own content" and add your CSS there.
5. Save Stylesheet, that's all. Now you should be able to use the CSS in the templates associated with files you specified (or all templates if "Globally" was chosen).
hello destroy666

how to make a tag css templates created boxalbum.css in itself ..

Can you give me a way to call the css tag. ?

I want to use it on mods profile album. : http://mods.mybb.com/view/profilealbums

and the css code I want to add paneled admin. I just wanted to add css code is only for profile album. not in global.css. : http://jsfiddle.net/ShockFamily/2Xpax/light/