Find the layout.html file for the theme you are using.

Look for 'Search' and you should find some lines like:

{%- block sidebarsearch %}
            {%- include "searchbox.html" %}
            {%- endblock %}


Now to decide where to put it in the header.

The template I'm using has a navigation bar at the top, defined in {%-
macro relbar() %} 
I put the 
{%- block sidebarsearch %}
            {%- include "searchbox.html" %}
            {%- endblock %}

In the macro, after the definition of the navigation html.  You'll
probably want to tweak the layout - do this in layout.html.

-----Original Message-----
From: sphinx-dev@googlegroups.com [mailto:sphinx-...@googlegroups.com]
On Behalf Of delfick
Sent: 28 September 2010 11:37
To: sphinx-dev
Subject: [sphinx-dev] Putting the search box on the top bar

Hello,

Does anyone know how I'd go about making it so the search box is at the
top of the page, rather than in the sidebar ?

Thankyou,

Regards,
Stephen

--
You received this message because you are subscribed to the Google
Groups "sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to