Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

jpwv

Member
  • Posts

    77
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by jpwv

  1. Not sure. I did not use the search in header on my website, so I did not investigate it further.It's possible that this code worked for earlier SqSp version. @arthurm above seems to be suggesting adding a search page to your header navigation menu with some added trickery. Or you could just have a page with the search function by itself? Not elegant, but functional.
  2. Not sure. I did not use the search in header on my website, so I did not investigate it further.It's possible that this code worked for earlier SqSp version. @arthurm above seems to be suggesting adding a search page to your header navigation menu with some added trickery. Or you could just have a page with the search function by itself? Not elegant, but functional.
  3. I tried this code and it did put a search block in header. I did not play with trying to position it. Instead I put the search block in footer. Just normal editing to place it there. However, I did make my ishimoto footer full width. <div id="search-wrapper" data-kbjs-widget="search-widget" data-autocomplete="true" data-search-id="nav-search"> <form action="/search-results"> <button type="button" id="search-button"></button> <input type="text" id="nav-search-box" name="q" placeholder="Search"> <p class="search-instructions hidden">Press enter</p> </form>
  4. Move your overview page to the NOT LINKED section of your PAGES list. The problem you are having is because your overview page is in the navigation folder. Everything in that folder will show. This is how I got it to work for me. I don't you will need the added code you quoted above.
  5. $(function() { $('.main-nav li a').each(function () { if ($(this).text() == 'Folder 1') { $(this).attr('href','http://www.page1'); $(this).attr('onclick','true'); } if ($(this).text() == 'Folder 2') { $(this).attr('href','http://www.page2'); $(this).attr('onclick','true'); } }); });
  6. Add this html to the Header code injection. Settings / Advanced / Code Injection / Header ... <script src="http://code.jquery.com/jquery-latest.min.js"></script> Add more sections for more folder (Folder 3....)
  7. silvabokis: The issue is the script and custom css. Are you willing to share?Is this the code you are talking about? http://www.silvabokis.com/news-views/2013/4/10/jvw4vybhjdmquivptb5sbo8tfw3c3q?rq=search
  8. Yes, that is correct. However, having it in the footer can be a temporary work around until you can figure out the trickery you need to get it into the header.
  9. A Search Block can be added to the footer using the standard editing tools.
  10. Go to page, view the page source and find url-slug","id (or "fullurl") The collection ID will be between those two possible search parameters.
  11. How can I add a Search Block to the top of the site, in or near the header? Thanks.
×
×
  • Create New...