I want to use a background gradient as my header, I want it to be the width of the page on all monitors, I will add my banner over the top of it. How do I do this?
Fluid Header
Collapse
X
-
That requires some HTML coding. For example, edit this template:
Admin CP -> Styles & Templates -> Style Manager -> Common Templates (in the menu) -> header
Add the red code:
Code:<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td [color=red]style="background: url('[color=blue]path/to/background.gif[/color]') repeat;"[/color] align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]"> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output
-
And another option -
Code:<!-- logo --> <a name="top"></a> <div="center"> <table border="0" width="900" cellpadding="0" cellspacing="0" align="center" background="$stylevar[imgdir_misc]/header_bg.jpg"> <tr> <td align="left" valign="top" width="600">[COLOR=Red]<a href="http://www.youraddress.com/forum">[/COLOR]<img src="$stylevar[imgdir_misc]/logo.jpg" width="600" border=0>[COLOR=Red]</a>[/COLOR]</td><td align="right" valign="bottom"><img src="$stylevar[imgdir_misc]/header_right.jpg" alt=""></td> </tr> </table> </div> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output
Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment