The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can i change the CSS code of my header to my header template
Hi, i have my banner in my style in the CSS, this is the code:
Code:
/* ***** SETS LOGO AREA FOUND IN HEADER AND ALL OF IT'S PROPERTIES ***** */ #logo { background: url(enlighten/misc/header_logo.gif); width: 470px; height: 102px; float: left; margin: 0; padding: 0; } /* ***** sets background for header area - No need to change this ***** */ #hdr { background: #F7632F url(enlighten/misc/header_back.gif) ; width: 100%; height: 102px; margin: 0; padding: 0; } /* ***** SETS HEADER RIGHT SIDE AREA FOUND IN HEADER AND ALL OF IT'S PROPERTIES ***** */ #hdr_rs { background: url(enlighten/misc/header_rs.gif); width: 34px; height: 102px; float: right; padding: 0; } |
#2
|
|||
|
|||
I don't understand what you mean. You want to add a banner rotator to your header, correct?
|
#3
|
|||
|
|||
Hi friend, the code i put is the code that makes my banner appears in my forum, and is located in the CSS. But if you have the code of your banners in your CSS you cant use scripts, so i cant make that my banners can rotate, so i need to adapt the code that is working in my CSS, to work in my header template, so i wont have problems because in the header template you can use scripts.
|
#4
|
|||
|
|||
You can add additional CSS in the textarea at the bottom of the page: AdminCP > Styles & Templates > Style Manager > Main CSS
|
#5
|
|||
|
|||
Sure, but scripts dont work in the CSS.
|
#6
|
|||
|
|||
Do you mean Javascript? Well, obviously they aren't going to work they aren't CSS.
Javascript can be placed in templates though. |
#7
|
|||
|
|||
Yes, so i have to makes the necessary changes to adapt my CSS code to my header template instead of CSS.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|