Hi Vinay, Thanks for your reply. Please look at the screenshot picture below, a heading consists of multiple 'test' has the top bar occupy the most part of the screen.
[image: sizzle.png] How about placing vertical 'test' part horizontally below the search bar, which I think would be better to limit the top bar within a reasonable size? On Thursday, April 25, 2019 at 3:33:02 AM UTC+8, Vinay Sajip wrote: > > > On Wednesday, 24 April 2019 13:16:51 UTC+1, [email protected] wrote: >> >> 1. Is there some way to adjust the top bar or even hide top bar at some >> point by simply using the conf.py file, as the length of the project name >> or heading might increase the height of top bar too much, narrowing the >> visual space of the main contents. >> > > The top bar is there so that commonly used functions (e.g. search, index) > are always in view. What happens when you narrow the browser window (which > would tend to make the project name or heading "too long") - post a > screenshot if you spot a problem. > > In general, if you want to tweak any styling decisions I've made, you > should be able to do this with an overriding CSS file of your own, as > described in the documentation. The problem with doing it in conf.py is > that there are too many possible things that people might want to change, > and conf.py wouldn't be the best place for most such tweaks. > > >> 2. How to adjust the width of sidebar? >> > > No easy way other than a custom CSS rule to override the one in > sizzle.css. If you narrow the browser window (or on a small screen - tablet > / phone) the sidebar is not shown by default. > > If you have a public project where the theme is causing problems, point me > at it and I'll try to see what's going on. > > Regards, > > Vinay Sajip > > > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
