vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Default Style small Modification Question (https://vborg.vbsupport.ru/showthread.php?t=115449)

anahowa 05-13-2006 01:18 PM

Default Style small Modification Question
 
1 Attachment(s)
how to remove the space at the top between logo and navbar?

(See screenshot)

Alan @ CIT 05-13-2006 09:27 PM

Couple of things you can try:

AdminCP -> Style Manager -> <style> -> Main CSS

Very first block ("Body CSS") - in the extra CSS attributes box, you should have a margin tag in there, eg: "margin: 5px 10px 10px 10px;" - the first number is for the top margin. Try changing this to 0 to see if that gets rid of it.

If that doesn't work, go into the StyleVars section in the style and play about with the spacer/border options in there.

Hopefully one of them should remove it.

Thanks,
Alan.

anahowa 05-14-2006 04:03 PM

thank you

I tried margin: 0px 0px 0px 0px;

in StyleVars

Spacer Size (pixels) = 0

Outer Border Width (pixels) = 0

Table Cell Padding (pixels) = 1

with no result

Zachery 05-14-2006 07:40 PM

Can we have a link to your site?

Alan @ CIT 05-14-2006 07:43 PM

Quote:

Originally Posted by anahowa
with no result

Sorry, then I'm out of ideas. Check the templates for an extra <br /> or <div> at the top that could be causing it, or play with some of the other CSS / Stylevar settings.

Or, as Zachery suggested, post your site so we can View Source :)

Thanks,
Alan.

TheMusicMan 05-14-2006 09:09 PM

On that image attachment you don't seem to have a header being displayed and the navbar template is therefore shown at the top of your forum. You might like to check that.

However, I'd suggest that the space is a rogue <br /> in there somewhere - other than that, it's the top page margin.

anahowa 05-15-2006 10:56 PM

the site is under construction

http://marokko.maroc.nu/community/

I use the delault vBulletin style, only removed this :

PHP 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]">
        &
nbsp;
    </
td>
</
tr>
</
table>
<!-- /
logo --> 


Zachery 05-16-2006 05:49 AM

I would imagine its your table padding.

Rich 05-16-2006 02:19 PM

To get rid of that space, open up the navbar template and find:

<!-- breadcrumb, login, pm info -->

Directly above that remove the <br />

anahowa 05-16-2006 09:11 PM

Quote:

Originally Posted by Rich
To get rid of that space, open up the navbar template and find:

<!-- breadcrumb, login, pm info -->

Directly above that remove the <br />

thank you :banana:

that helps


All times are GMT. The time now is 06:24 AM.

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.01009 seconds
  • Memory Usage 1,735KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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