vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Navbar problems (https://vborg.vbsupport.ru/showthread.php?t=205307)

mikey1991 02-14-2009 03:17 AM

Navbar problems
 
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:
Code:

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

Code:

<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

Code:

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


All times are GMT. The time now is 05:48 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.01089 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete