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)
-   -   My banner logo won't align? (https://vborg.vbsupport.ru/showthread.php?t=205738)

Spada_FMC 02-18-2009 03:47 AM

My banner logo won't align?
 
1 Attachment(s)
I have been customizing the default skin that vB comes with I have 3.8.1. I started out with a white background so I never noticed it, but now that I have hued the background and the forums different colors the alignment really stands out.

I have the board set to display at a fixed width of 988 pixels, and the banner is 988 pixels wide. When the browser is full screen the banner is shifted to the right 2 pixels. When I shrink the browser page to frame the forum, the banner shifts and lines up correctly.

Any ideas on how to fix this?

Thank you
-Spada

Seven Skins 02-18-2009 01:09 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=1741853&postcount=6" target="_blank">https://vborg.vbsupport.ru/showp...53&postcount=6</a>

Spada_FMC 02-18-2009 01:52 PM

Thank you very much Seven Skins, that worked!

Pokerbanter 02-20-2009 01:07 PM

Have same problem but the suggestion above did not work. v3.7.4

https://vborg.vbsupport.ru/external/2009/02/36.jpg

Seven Skins 02-20-2009 01:52 PM

Link for your forum ?

.

Pokerbanter 02-20-2009 02:03 PM

Quote:

Originally Posted by Seven Skins (Post 1749913)
Link for your forum ?

.

www.pokerbanter.com/forum

Thanks

I'm also looking to move the banner from the header to inside the white body of the forum if possible.

Seven Skins 02-20-2009 04:59 PM

Remove the code below from your header template.

HTML Code:

<td align="right"><center>&nbsp;</center>

<td align="right"><center>&nbsp;</center>
        <td align="right" id="header_right_cell">
                &nbsp;

And find and remove <center> tag from header template.

.

Pokerbanter 02-20-2009 10:10 PM

Quote:

Originally Posted by Seven Skins (Post 1750044)
Remove the code below from your header template.

HTML Code:

<td align="right"><center>&nbsp;</center>

<td align="right"><center>&nbsp;</center>
        <td align="right" id="header_right_cell">
                &nbsp;

And find and remove <center> tag from header template.

.

Thanks for taking the time to help mate. That seems to have improved it but it's still 1 pixel out... :(

Seven Skins 02-21-2009 07:51 PM

Quote:

Originally Posted by Pokerbanter (Post 1750217)
Thanks for taking the time to help mate. That seems to have improved it but it's still 1 pixel out... :(

Beacuse you have not removed this:

HTML Code:

<td align="right">&nbsp;

                &nbsp;


.

Blue Ink 07-01-2009 02:52 PM

1 Attachment(s)
I am having the same logo alignment issue but I don't know what to remove from my header code. There is a screenshot attached.

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>
        <td align="$stylevar[right]" id="header_right_cell">
                <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
        </td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

Any suggestions?

Seven Skins 07-01-2009 05:38 PM

If you are not going to use ad in the header you can use this.

HTML 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>
    <!--<td align="$stylevar[right]" id="header_right_cell">
                <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
        </td>-->

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

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]



All times are GMT. The time now is 04:59 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.01184 seconds
  • Memory Usage 1,748KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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