PDA

View Full Version : Navbar problems


mikey1991
02-14-2009, 03:17 AM
https://vborg.vbsupport.ru/external/2009/02/75.jpg

How Do I put the background image that are on the table headers onto the browny bit (not the white bit) containing links?

Please help

Lynne
02-14-2009, 03:40 AM
Usually the class used in the navbar is vbmenu_control. That CSS is controled in Main CSS under the heading Popup Menu Controls. You can see what class the ones you want to copy are by checking your page source and then just copy the stuff from that class in main css to the vbmenu_control class.

mikey1991
02-14-2009, 04:40 AM
Thank you, Lynne, That really helped.

Another qualm I'm having with this skin is that I want it to be fixed yet I can't make it fixed via the "Main Table Width", which I have set to "840px"

Is there anything else I have to do?

This is a skin that I have modified from the vbulletin default, with barely any code changes.

Thanks.

TigerC10
02-14-2009, 04:44 AM
Check your header template... At the top it should say:

<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">


If your "width" is not $stylevar[outertablewidth], then it won't matter what your template stylevar says.

mikey1991
02-14-2009, 04:47 AM
Copied from my header template:

<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">

is already in my header template, so technically it should work? yet it doesnt

TigerC10
02-14-2009, 04:52 AM
Well, if you're using a custom style, they could have something set up to do based on a certain pixel size, then your outer table will increase to that size for a min...

Or you could have a browser cache problem (this happens to me a lot in Firefox, which is why I like Opera more). Force a re-download of the page.

Internet Explorer:
Hold CTRL and press Refresh

Firefox:
Hold SHIFT and press Refresh

mikey1991
02-14-2009, 05:02 AM
I just tried that and nothing =/

This isnt a custom style, it is one I am designing, straight from the vb default, I've made barely any coding modifications...

Dismounted
02-14-2009, 10:31 AM
If you view the page source, is the width correct?

mikey1991
02-14-2009, 03:09 PM
<table border="0" width="840px" cellpadding="0" cellspacing="0" align="center">

That is the width I have set in the ACP, and it shows in the page source, yet it is still fluid...

Lynne
02-14-2009, 03:31 PM
Can we get a link to your site to take a look? It sounds like something else is forcing the width on it. Do you have any modifications installed? I know some of them will force the width (some stats ones).

mikey1991
02-14-2009, 03:35 PM
I will have to temporarily allow the skin to be viewed by the public.

http://parlancia.com/forums/index.php?styleid=35

I have Cyb Stats installed, though I doubt that could mess it up

Lynne
02-14-2009, 04:32 PM
Look at your navbar table:
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">

And Guest Welcome message table:
<!-- guest welcome message -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">

And the main table:
<!-- main -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">

They are all set to 100%

Check those templates and see what the variables are or if you have it set at 100% in the template.

mikey1991
02-14-2009, 04:36 PM
So, If I set those all to 840px, it should go fixed?

Lynne
02-14-2009, 04:51 PM
You know what? I can't get that to work! I have a totally default style on my test site and I set it to 840px and the only thing that gets effected is the banner at the top. The rest of the tables stay at 100%.

Perhaps you should bring this issue up on vb.com and let them know that they broke it at some point.

mikey1991
02-14-2009, 05:41 PM
I know!

I editted the 100% width variables in FORUMHOME template, and now it looks like this:

http://parlancia.com/mikey/parlancia.png (not gonna IMG tag it, its like, 2000 pixels.)

I think maybe I have to go to each individual template for the hacks that are still at 100% and make them 840px, too...

Not sure whats causing the NavBar Border to do that =/

Lynne
02-14-2009, 06:10 PM
I would seriously go post about this on vb.com. Tell them you have a default style (you do have one, right?) and you set the width and the only thing affected is the banner. Ask them what you need to do to have the whole forum affected.

mikey1991
02-14-2009, 06:26 PM
I'll go do that :)