PDA

View Full Version : Header help


crazymilk
08-15-2009, 05:44 PM
For the header i`ve got i image the i want left i have a matching image for the end which i want to repeat 100% of the forums how do i repeat in the header?

vB Tree
08-15-2009, 06:09 PM
Could you provide a diagram or try to describe what you are trying to do again? I'm not exactly sure what you are asking for.

crazymilk
08-15-2009, 06:49 PM
I want this image to the left

http://www.blackops-squad.com/maxjay/7_01.jpg

And this image to repeat from the end of the first image the whole width of the header

http://www.blackops-squad.com/maxjay/line.png


what would be the header code?

vB Tree
08-15-2009, 07:00 PM
Centralised logo with repeat on either side.

Okay then. If assuming you have nothing else extra in your header, you will be looking to end up with something like this:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td class="logofluid">&nbsp;</td>
<td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td class="logofluid">&nbsp;</td>

</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

And add this to additional css:

.logofluid { background: #COLOURCODE url(IMAGELOCATION.gif repeat-x; width: 50%; }

Hope this makes sense, if not, reply here and send me a PM to notify me that you have replied.


Logo on the left and repeating image on the right.

I have not tested this code so let me know if it doesn't work:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="left"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td class="logofluid">&nbsp;</td>

</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

And add this to additional css:

.logofluid { background: #COLOURCODE url(IMAGELOCATION.gif repeat-x; width: 100%; }

I think this should do it, if not, I'll try making one on localhost.

crazymilk
08-15-2009, 07:08 PM
Thanks for nice logo

I added your code and now i just get the vbulletin logo in the middle?

And thanks for all your help

--------------- Added 1250367233 at 1250367233 ---------------

if i give you the images path would that help?

vB Tree
08-15-2009, 07:14 PM
Did you use the first or second version of the code. It might be easier for me to help you over live chat. If you have MSN and want to speak to me there instead. PM me your email.

--------------- Added 1250367307 at 1250367307 ---------------

If you give me the image path, I will customise the code for you.

crazymilk
08-15-2009, 07:19 PM
I put this in is it wrong?

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td class="logofluid">&nbsp;</td>
<td align="center"><a href=http://www.blackops-squad.com/maxjay/7_01.jpg"$vboptions[forumhome].php$session[sessionurl_q]"><img src=http://www.blackops-squad.com/maxjay/7_01.jpg"$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td class="logofluid">&nbsp;</td>

</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

--------------- Added 1250367642 at 1250367642 ---------------

And this for extra css

.logofluid { background: #COLOURCODE url(maxjay/line.png repeat-x; width: 50%; }

vB Tree
08-15-2009, 07:26 PM
Yes, I posted a second version of code up when I re-read what you wanted to do.

Replace it with this:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="left"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td class="logofluid">&nbsp;</td>

</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

And this:

.logofluid { background: #0c0c0c url(maxjay/line.png repeat-x; width: 100%; }

Also, could you edit your last post and put code or html tags around the code sections.

--------------- Added 1250369783 at 1250369783 ---------------

This issue it now resolved. It is due to a missing close bracket in the css.

:)

crazymilk
01-29-2010, 07:39 AM
Me again having trouble with header.

I want to put a right and left banner with a fliud bit in the middle how would i do this?

--------------- Added 1264766817 at 1264766817 ---------------

This issue is now resolved.

Forums banner Link here (http://www.blackops-squad.com/cmps_index.php?styleid=13)

See what you all think