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)
-   -   3.8 Navbar Customize Help (https://vborg.vbsupport.ru/showthread.php?t=264859)

kNeeLy 06-07-2011 06:34 PM

3.8 Navbar Customize Help
 
ok...i've tried everything under the sun...but can't get it right. What I would like, is for my navbar to be (with a space) right under my header logo.

Wayne Luke helped me before, as I know I have to take the navbar code and move it to the header section, but when I do that, the navbar streches all the way across the screen. I would like to make a fixed width. My logo is 850 wide. I would like my forum and navbar all to line up with it.

If I post my code, can someone PLEASE fix it/help/make it work?? lol...

BirdOPrey5 06-08-2011 12:44 AM

Are yo saying you want everything on your page to be 850px wide?

A screen shot or something might help.

kNeeLy 06-08-2011 12:53 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2204841)
Are yo saying you want everything on your page to be 850px wide?

A screen shot or something might help.

yes, basically.

I want my navbar below my header logo, which I did before, but can't remember how to do it. Like I said, Wayne did the code for me, and there was something in there that I had to "tweek" so the background of the navbar didn't stretch across the whole page....

In a nutshell, I would like to make a "fixed width" skin, at 850 pixels and have the navbar, forum, ect., line up under it.

I'll try and cut a screen shot...

BirdOPrey5 06-08-2011 01:02 AM

In All Style Options for your style the box Main Table Width (pixels or percentage)

Change it from 100% or whatever it is to just a fixed number, like 800. This will make the style fixed-width.

kNeeLy 06-08-2011 01:01 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2204856)
In All Style Options for your style the box Main Table Width (pixels or percentage)

Change it from 100% or whatever it is to just a fixed number, like 800. This will make the style fixed-width.

That part works.

But.

When I move the navbar code into the header, it moves the navbar under the logo, which works cool..but..the 'background color' of the navbar stretch's all the way across the page, while the actual navbar buttons stay lined up.

Lemme try and re-produce it real quick and show...

kNeeLy 06-08-2011 01:35 PM

1 Attachment(s)
Here's what it looks like when the <!-- nav buttons bar --> code is moved to under the header logo.

All I want, is a little "space" in between the logo and navbar, and for the navbar to line up with the rest of the forum, not even the logo...

BirdOPrey5 06-08-2011 02:58 PM

I gotcha...

Try surrounding the <!-- nav buttons bar--> code (all of it) within the following:

Code:

<div align="center" style="width:850px;">

NAV BUTTON CODE HERE

</div>

That should center the menu under the header logo.

If you want some more space add a <br /> above the <div> line for an extra blank line.

kNeeLy 06-08-2011 03:14 PM

1 Attachment(s)
SOOOO close!!!! lol

It lined it up, but it's all the way against the left side of the page...now it just needs centered!! lol...

BirdOPrey5 06-08-2011 03:34 PM

weird... try this:

Code:

<div align="center" style="width:850px; margin-left:auto; margin-right:auto;">

kNeeLy 06-08-2011 03:51 PM

1 Attachment(s)
IT WORKED!!!! HA!!!!!!

Thank you....it's a hair off on the left side, but i'm not worried about that!!

Thank you...for all the help...thank you!!


All times are GMT. The time now is 06:51 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.01097 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_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