The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to make a banner in center in vbulletin theme ?
How to make a banner in center in vbulletin theme ?
I want to make my banner align in the center instead of right/left side. How can i do that ? Here is my header code Quote:
Thanks, NK |
#2
|
||||
|
||||
Try this:
Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> </tr><tr> <td align="center" id="header_right_cell"> <if condition="$ad_location['ad_header_logo']"><div align="center"> $ad_location[ad_header_logo] </div><else /> </if> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output $ad_location[ad_header_end] |
#3
|
||||
|
||||
|
#4
|
||||
|
||||
Still in some of my friend's pc its showing the banner on the left hand side. why is it so ?
|
#5
|
||||
|
||||
My bad... replace the <!--- logo --> code with this instead:
Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> </tr><tr> <td align="center" id="header_right_cell"> <if condition="$ad_location['ad_header_logo']"><div align="center"> $ad_location[ad_header_logo] </div><else /> </if> </td> </tr> </table> <!-- /logo --> |
#6
|
|||
|
|||
Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><center><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></center</a></td> <td align="$stylevar[right]" id="header_right_cell"> <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> </if> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output $ad_location[ad_header_end] Someone Help with this issue. |
#7
|
||||
|
||||
You are using IE browser? Those members may be using FF browser? I had this issue in the past, can't remember what I did to correct it...was to many edits ago
|
#8
|
||||
|
||||
I am using mozilla firefox only..is there any solutions to this..??
|
#9
|
|||
|
|||
I use this code for most my headers,
works in IE, fire fox and chrome, etc. PHP Code:
This centers the header, and you can change this to your image name or from png to jpg or gif, etc change the sizes to fit your needs, hope this helps you. header should be placed in your skins misc dir. Any questions visit CheykaWebDesign com Ed _____________________________________________ Need Affordable Hosting? Checkout CheykaWebDesign.com • Unlimited Bandwidth, Unlimited Space, Mysql Databases, FTP Access, etc. www.CheykaWebDesign.com We can move and host your website for you! Contact Sales@CheykaWebDesign.com |
#10
|
||||
|
||||
But, where to put the code actually ?? Please see my code in the previous post.
--------------- Added [DATE]1281140849[/DATE] at [TIME]1281140849[/TIME] --------------- Quote:
Works Superbly Perfect, Thanks Brother !!!! Thanks to everyone who have helped me.. !! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|