vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Header help (https://vborg.vbsupport.ru/showthread.php?t=220953)

crazymilk 08-15-2009 05:44 PM

Header help
 
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:

Code:

<!-- 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:

HTML Code:

.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:

Code:

<!-- 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:

Code:

.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 [DATE]1250367233[/DATE] at [TIME]1250367233[/TIME] ---------------

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 [DATE]1250367307[/DATE] at [TIME]1250367307[/TIME] ---------------

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 [DATE]1250367642[/DATE] at [TIME]1250367642[/TIME] ---------------

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:

HTML Code:

<!-- 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:

HTML Code:

.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 [DATE]1250369783[/DATE] at [TIME]1250369783[/TIME] ---------------

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 [DATE]1264766817[/DATE] at [TIME]1264766817[/TIME] ---------------

This issue is now resolved.

Forums banner Link here

See what you all think


All times are GMT. The time now is 04:39 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01098 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete