PDA

View Full Version : Default Style small Modification Question


anahowa
05-13-2006, 01:18 PM
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
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 :



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