Results 1 to 8 of 8

Thread: Navbar Width.....

  1. #1
    Experienced vBulletin User Half Pint's Avatar
    Join Date
    Apr 2007
    Location
    The UK
    Posts
    334

    Navbar Width.....

    No matter what my navbar width is only as wide as my Main Table Width setting (Even set as 100&#37. is there away i can change this, i want to leave the Main Table Width setting as it is but make the navbar wider without moving it to a different template?

    I pretty much want to make it the same width as the footer.

    Please help me.....

    EDIT: See Below For Answer

  2. #2
    Moody Admin Peggy's Avatar
    Join Date
    Jan 2005
    Location
    Youngstown, OH
    Posts
    12,414
    How about sharing what you did?

  3. #3
    Experienced vBulletin User Half Pint's Avatar
    Join Date
    Apr 2007
    Location
    The UK
    Posts
    334
    In the 'Header' Template Find & Delete:
    Code:
    <!-- content table -->
    $spacer_open
    
    $_phpinclude_output
    then in the 'Navbar' Template add this:
    Code:
    <!-- content table -->
    $spacer_open
    
    $_phpinclude_output
    To the last line of your template

  4. #4
    New to vBFAQ
    Join Date
    Oct 2007
    Posts
    4

    Question

    So why is that not working for me?
    I tried it in 3.7 and I tried it with the $_phpinclude_output and without, but it won't work.
    It doesn't react to the $spacer_open in the navbar template and not only the navbar is at full width, but the whole forum is.

    Any help appreciated.

  5. #5
    Moody Admin Peggy's Avatar
    Join Date
    Jan 2005
    Location
    Youngstown, OH
    Posts
    12,414
    All I do to change the width of the navbar to the full width of the forum (stretch it all the way across from side to side), is move the navbar code (nav buttons bar, found in the navbar template) to the header template, just above

    Code:
     <!-- content table -->

  6. #6
    New to vBFAQ
    Join Date
    Oct 2007
    Posts
    4

    Question

    Quote Originally Posted by Peggy View Post
    All I do to change the width of the navbar to the full width of the forum (stretch it all the way across from side to side), is move the navbar code (nav buttons bar, found in the navbar template) to the header template, just above

    Code:
     <!-- content table -->
    I know, I know, but I would like to have my navbar and my breadcrumb in the same width as my header.
    Now I can't move the breadcrumb to the header, since I had to change the php files to let vb search in the header and not the navbar for the breadcrumb.

    Moving the $spacer_open down under navbar and breadcrumb seems to be a very elegant way to have the width, of the header and to be more compatible for updates in the future.
    With Jelsoft bringing updates on a regular basis with a few of them a year, I don't like to have a bunch of work each time, I have to do it.
    Another point are plugins which are looking for the navbar in the navbar template and not moving it, could be ore comfortable.

    I read the whole internet and found some infos about moving the spacer command , but it doesn't work for me in a 3.7 vb. I asked here, at vb.org, vb-germany.org and at vb.com too, but nobody seems to be able to give an answer to a simple question.
    I even asked a designer, which we had hired a year ago, if he could do it and I didn't get answer from him.
    So I think, it is more complex, than I think it is, but Jelsoft should be able to answer, why it doesn't work.
    Paying Jelsoft for the work they do doesn't make me nervous, but wasting a lot of time and not getting answers drives me crazy ...

    So I still would like to know, why it doesn't work and what I could do to make it work or if there is a better way to do it.
    I am even willing to pay for a working answer and I don't want to die as dumb as I am.

  7. #7
    Moody Admin Peggy's Avatar
    Join Date
    Jan 2005
    Location
    Youngstown, OH
    Posts
    12,414
    If you die dumb, then so will I, lol. The breadcrumb is coded to be the same width as the forums. Not being a coder, I have no idea how to work around that. Perhaps one of our coders will jump in here but I wouldn't count on it on a weekend.

  8. #8
    New to vBFAQ
    Join Date
    Oct 2007
    Posts
    4
    Got it!
    It's the USC hack, which breaks this little hack ..

    Thanks for the hands.

Similar Threads

  1. problem on my width
    By greenpassion in forum Setting up and Customizing your Forum
    Replies: 4
    Last Post: 12-08-2007, 01:36 AM
  2. Best Forum Width...
    By Half Pint in forum Setting up and Customizing your Forum
    Replies: 11
    Last Post: 10-16-2007, 08:45 PM
  3. How do I set up fixed-width?
    By Adidarw in forum Setting up and Customizing your Forum
    Replies: 0
    Last Post: 03-17-2007, 02:59 AM
  4. Problem with column width
    By Emzak in forum Setting up and Customizing your Forum
    Replies: 4
    Last Post: 03-07-2007, 03:25 AM
  5. Showthread out of width
    By Scribbller in forum vBulletin Discussion and Questions
    Replies: 5
    Last Post: 09-28-2005, 02:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •