Welcome to TalkGraphics.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2011
    Posts
    6

    Default Nav Bar Stretching!

    Dumb question with probably an easy fix!

    Is there any command in D7P to get the nav bar to auto (or manually) fit the full width of the page? It just looks a bit odd and I can`t seem to find the solution!

    A picture speaks a thousand words:

    Click image for larger version. 

Name:	ScreenHunter_01 Sep. 18 11.27.jpg 
Views:	124 
Size:	27.0 KB 
ID:	92228

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,531

    Default Re: Nav Bar Stretching!

    I moved your thread to the Web Design Chat.

    This may work. Divide the empty space by 7 (the number of spaces between the existing buttons). Ungroup the nav bar to edit and increase the width of the home button by that amount. Recreate the nav bar. The distance between the text and the left and right edges of the buttons is the same.

    To do this, double click on the nav bar to open the Navigation Bar Properties menu. There is an option in the lower left to upgroup for editing. Click the button.

    You will need to edit just the button part and not the text, so hold down the Ctrl key and click the button shape and add just the width to the button. You need to do this for both button states.

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,531

    Default Re: Nav Bar Stretching!

    Having just attempted this (unsuccessfully) you may need to divide the number in half since the amount is added to each side of the button.

  4. #4
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,531

    Default Re: Nav Bar Stretching!

    Arg! Never mind.

  5. #5
    Join Date
    Oct 2011
    Posts
    6

    Default Re: Nav Bar Stretching!

    Cheers GW! I found the same, the buttons went superwide! Think its sorted now, thanks!

  6. #6
    Join Date
    Apr 2010
    Location
    Kildare, Ireland
    Posts
    906

    Default Re: Nav Bar Stretching!

    I had a go at this myself and I think one way to do it is if you divide the page width by the number of buttons and make the first button that size. Then in the navbar dialog uncheck "adjust button widths to labels" and it should make the buttons fill the width of the page. You might be out a pixel or so if the button width doesn't divide evenly into the page width but if it ends up short you could put a background image behind the navbar that matches the look of the navbar so the gap isn't so noticible or if you go over it should clip it to the page anyway so it might not be an issue but not sure about that and depends if you have page clipping on.
    XT-CMS - a self-hosted CMS for Xara Designers - Xara + CMS Demo with blog & ecommerce shopping cart system.

  7. #7
    Join Date
    Dec 2000
    Location
    Hautes Pyrénées, France
    Posts
    5,083

    Default Re: Nav Bar Stretching!

    Quote Originally Posted by gwpriester View Post
    Arg! Never mind.
    LOL
    If someone tried to make me dig my own grave I would say No.
    They're going to kill me anyway and I'd love to die the way I lived:
    Avoiding Manual Labour.

  8. #8
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,531

    Default Re: Nav Bar Stretching!

    Tom - Your solution sounds a lot simpler (and more effective) than mine.

    BF I was never very good at math.

 

 

Bookmarks

Posting Permissions

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