Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: moving elements within a nav bar

    You might want to change the height from 1% to say 30px:
    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #C00000;
    	font-weight: bold;
    	color: #ffffff;
    	height: 30px;
    	width: 100%;
      border: 1px solid #9a9a9a
    }
    
    #navMain2Wrapper {
    	margin: 0em;
    	background-color: #C00000;
    	font-weight: bold;
    	color: #ffffff;
    	height: 30px;
    	width: 100%;
      border: 1px solid #9a9a9a
    }
    Try it and see how it works.

  2. #12
    Join Date
    Jan 2004
    Posts
    573
    Plugin Contributions
    0

    Default Re: moving elements within a nav bar

    Quote Originally Posted by clydejones
    You might want to change the height from 1% to say 30px:
    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #C00000;
    	font-weight: bold;
    	color: #ffffff;
    	height: 30px;
    	width: 100%;
      border: 1px solid #9a9a9a
    }
    
    #navMain2Wrapper {
    	margin: 0em;
    	background-color: #C00000;
    	font-weight: bold;
    	color: #ffffff;
    	height: 30px;
    	width: 100%;
      border: 1px solid #9a9a9a
    }
    Try it and see how it works.
    damn this is hard to figure out

    i reduced it to 20px but then the text moves off the bar into the other bar
    what the he** is going on

    ahhhhhhhhh

    ok i'm allright



    can anyone look at the 2 files at tell me what to edit to mimic

    the original site - i need to fix the size of the navbars and reposition the text vertically

  3. #13
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: moving elements within a nav bar

    Here's my CSS for the top navbars:
    Code:
    #navMainWrapper {margin: 0em; padding: 0 0 2px 0; border-bottom: 1px solid #66006B; background-color: #c459aa; font-weight: bold; height: 20px; width: 100%;}
    #navMain  {margin: 0; padding: 3px 0 0 10px; list-style-type: none; text-align: center;	color: #580C84;}
    
    #navMainWrapper2 {margin: 0em; padding: 0 0 2px 0; text-align: center; border-bottom: 1px solid #66006B; background-color: #c459aa; font-weight: bold; height: 20px; width: 100%;}
    #navMain2  {margin: 0; padding: 3px 0 0 10px; list-style-type: none; text-align: center;	color: #fff;}
    take a look here for a demo

  4. #14
    Join Date
    Jan 2004
    Posts
    573
    Plugin Contributions
    0

    Default Re: moving elements within a nav bar

    Quote Originally Posted by clydejones
    Here's my CSS for the top navbars:
    Code:
    #navMainWrapper {margin: 0em; padding: 0 0 2px 0; border-bottom: 1px solid #66006B; background-color: #c459aa; font-weight: bold; height: 20px; width: 100%;}
    #navMain  {margin: 0; padding: 3px 0 0 10px; list-style-type: none; text-align: center;	color: #580C84;}
    
    #navMainWrapper2 {margin: 0em; padding: 0 0 2px 0; text-align: center; border-bottom: 1px solid #66006B; background-color: #c459aa; font-weight: bold; height: 20px; width: 100%;}
    #navMain2  {margin: 0; padding: 3px 0 0 10px; list-style-type: none; text-align: center;	color: #fff;}
    take a look here for a demo
    bloody hell i really messed it up now

    is the tpl header causing it??

    any help would be appreciated

    i attached latest tpl_header & stylesheet
    Attached Files Attached Files

  5. #15
    Join Date
    Jan 2004
    Posts
    573
    Plugin Contributions
    0

    Default Re: moving elements within a nav bar

    ok i corrected some of the css

    but now the text for one of the navbars is not staying in the bar

    any ideas??

    again reattached

    here is site i am working on:

    http://sulserv.dyndns.org/sgf
    Attached Files Attached Files

  6. #16
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: moving elements within a nav bar

    You included tpl_box_header.php in the zip file and not tpl_header.php

    I've included my tpl_header.php and the navbar portion of my css in the attached.

    My changes in tpl_header.php are in red.

    Attachment 57
    Last edited by clydejones; 25 May 2006 at 07:31 AM.

  7. #17
    Join Date
    Jan 2004
    Posts
    573
    Plugin Contributions
    0

    Idea or Suggestion Re: moving elements within a nav bar

    Quote Originally Posted by clydejones
    You included tpl_box_header.php in the zip file and not tpl_header.php

    I've included my tpl_header.php and the navbar portion of my css in the attached.

    My changes in tpl_header.php are in red.

    Attachment 57
    sorry here it is attached

    i don't know if my issues are steming from centering the search box in the one nav bar

    if you could take a quick look - again thanks for all your help
    Attached Files Attached Files

  8. #18
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: moving elements within a nav bar

    You have two instances of #navMainWrapper in your CSS that may be causing the problem: remove the one in red. hope it works

    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #C00000;
    	font-weight: bold;
    	color: #ffffff;
    	height: 1%;
    	width: 100%;
    	}
    #navMainWrapper {
    	margin: 0em;
    	background-color: #C00000;
    	font-weight: bold;
        padding: 0 0 2px 0;
        border-bottom: 1px
    	color: #ffffff;
    	height: 20px;
    	width: 100%;
        border: 1px solid #9a9a9a
    }

  9. #19
    Join Date
    Jan 2004
    Posts
    573
    Plugin Contributions
    0

    Default Re: moving elements within a nav bar

    Quote Originally Posted by clydejones
    You have two instances of #navMainWrapper in your CSS that may be causing the problem: remove the one in red. hope it works

    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #C00000;
    	font-weight: bold;
    	color: #ffffff;
    	height: 1%;
    	width: 100%;
    	}
    #navMainWrapper {
    	margin: 0em;
    	background-color: #C00000;
    	font-weight: bold;
        padding: 0 0 2px 0;
        border-bottom: 1px
    	color: #ffffff;
    	height: 20px;
    	width: 100%;
        border: 1px solid #9a9a9a
    }
    ok i fixed that but it didn't really change anything
    the spacing is messed up in IE & firefox - but in different ways

    i attached latest tpl_header & stylesheet.css

    if you have a chance to look thanks again
    Attached Files Attached Files

  10. #20
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: moving elements within a nav bar

    I found this in your tpl_header.php
    Code:
    <!--eof-branding display-->
    <!--bof-navigation2 display-->
    <div id="navMain2Wrapper">
    <div id="navMain2">
        <ul class="center"> 
    <!--    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li> -->
    Try removing the red highlighted portion of the code and see if that helps.
    You've already defined a text-align: center in navMain2 so you shouldn't need it here.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Nav bar - How can i delete a heading in my Nav bar (v1.5.0)
    By Pretty dumb in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Oct 2012, 02:07 PM
  2. Moving the top nav bar down
    By sunrise in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 3 Nov 2010, 05:22 PM
  3. Moving Customer greeting to main nav bar?
    By softget in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Feb 2007, 01:29 PM
  4. How to move search bar into nav bar?
    By Sullmoney in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Sep 2006, 08:49 AM
  5. Top bar Header Bar Nav Bar
    By mole69 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Jul 2006, 04:35 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
  •  
disjunctive-egg