Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jun 2006
    Posts
    110
    Plugin Contributions
    0

    Default Moving searchbar so its inside header image

    The title pretty much explains it. i want to move my searchbar up so its inside the header image, so instead of looking like this:

    ##############################################################################################################

    Header Image
    ##############################################################################################################
    ...........................................................................Searc hbar
    ................................................................................ ..(go)

    i want it to look like this:

    ##############################################################################################################

    Header Image...................................................Searchbar (go)
    ##############################################################################################################

    (ignore the periods, its so i could space it out to approx. where it would go, sense i cant use MASS spaces on the forum)

    what would i have to do to make this work?

  2. #2
    Join Date
    Jun 2006
    Posts
    110
    Plugin Contributions
    0

    Default Re: Moving searchbar so its inside header image

    would anyone know how to do this?

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Moving searchbar so its inside header image

    in your override for tpl_header.php file find this div -
    Code:
    <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
    and move it into the area between bof-branding display and eof-branding display
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Jun 2006
    Posts
    110
    Plugin Contributions
    0

    Default Re: Moving searchbar so its inside header image

    im having a hard time finding a tpl_header.php file with that coding in it, could you tell me were i could find it?

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Moving searchbar so its inside header image

    /includes/templates/your_template/common/tpl_header.php.

    If you don't have it in your custom files yet, copy it from /includes/templates/template_default/common/tpl_header.php.

  6. #6
    Join Date
    Jun 2006
    Posts
    110
    Plugin Contributions
    0

    Default Re: Moving searchbar so its inside header image

    well...something is wrong.

    i found that page that you were all talking about, but it didnt have that line of code in it. so i decided to just add the code in myself. and it gave me two searchbars. one closely were i wanted it, and then the original one that i wanted to be moved up. so then i got stuck with two, so i removed the coding that i had put in, and am now stuck at the very beginning.

    comments?

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Moving searchbar so its inside header image

    About line 64:
    PHP Code:
    <div id="navMainSearch"><?php require(DIR_WS_MODULES 'sideboxes/search_header.php'); ?></div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->

    <!--bof-branding display-->

  8. #8
    Join Date
    Jun 2006
    Posts
    110
    Plugin Contributions
    0

    Default Re: Moving searchbar so its inside header image

    its not there. ironically thats where i put the code, but its nowhere in that file, and ive never edited it.

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Moving searchbar so its inside header image

    Where does the searchbar you have show up? Above/below what? Are you using a template you got from somewhere? That is the only reason I can think of that you would have a searchbar elsewhere in your header.

    If you do have a template installed, can you switch back to Classic and see the searchbar at the top?

    Do you have an untouched copy of the file under /template_default/? You might try a search in admin > Tools > Developer's Toolkit for "navMainSearch".

    Best of all, can you give a url to see the output? The link in your sig doesn't redirect.

  10. #10
    Join Date
    Jun 2006
    Posts
    110
    Plugin Contributions
    0

    Default Re: Moving searchbar so its inside header image

    no, i didnt install another template or anything. its really awkward. the url to the actual website isHERE

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Searchbar in header alignment problems
    By sartor in forum General Questions
    Replies: 2
    Last Post: 19 Jan 2009, 09:01 PM
  2. Looking to replace #navmainwrapper with image links and searchbar
    By dvasdekis in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 7 Jul 2007, 12:09 AM
  3. Searchbar in Header too close to the top of the page
    By TMontana in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 Mar 2007, 11:44 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