Thanks Stefano, that worked! I'm using the alabaster theme, moved the 
sidebarsearch block, and that worked. (Just having layout.html in 
source/_templates also added navigation links at the top and bottom of the 
screen, but I eventually figured out that commenting out the relbar1 and 
relbar2 blocks made them go away.)

I usually get to know these templates by adding <span>flag1</span>, 
<span>flag2</span>, etc. in various places to see where they show up, and 
because those weren't all behaving the way I expected I thought I was 
misunderstanding something more fundamental about the template, but now I 
have the search box where I want it. 

Thanks,

Bob

On Friday, September 13, 2019 at 2:49:24 AM UTC-4, Stefano David wrote:
>
> Hello Bob,
>
> On Thursday, 12 September 2019 15:56:46 UTC+2, Bob DuCharme wrote:
>>
>>
>> I wondered if I was even trying to override the right file to do this. 
>> Any suggestions?
>>
> Can you tell which blocks are you trying to move? 
> Inside layout.html If I put the block
> {% include "searchbox.html" %} 
> at the end or beginning of the 
>
>         <div class="wy-menu wy-menu-vertical" data-spy="affix" 
> role="navigation" aria-label="main navigation">
>           {% block menu %}
>
> block, I can successfully see the search field moving above or below the 
> navigation.
>
> I am using rtd theme, with few slight changes to the template (none to 
> layout.htm, though), but I have a ./theme directory within my source folder 
> which includes the various html templates.
>
> HTH,
> Stefano
>
>>
>> Thanks,
>>
>> Bob
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/81625207-0e75-4c16-96c3-118f118a5677%40googlegroups.com.

Reply via email to