Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default font to Arial #154

Open
ShubhamRathi opened this issue Mar 15, 2017 · 5 comments
Open

Change default font to Arial #154

ShubhamRathi opened this issue Mar 15, 2017 · 5 comments

Comments

@ShubhamRathi
Copy link

ShubhamRathi commented Mar 15, 2017

I need to change the default font to Arial. I'm using the 'Journal' Theme

How do I do it?
My project is here

@ryan-roemer
Copy link
Owner

Hi @ShubhamRathi -- Here's a guide to adding extra CSS files: https://github.com/ryan-roemer/sphinx-bootstrap-theme#adding-custom-css

@ShubhamRathi
Copy link
Author

Works perfect @ryan-roemer !
A question connected to this: I'm also adding a custom sidebar. See code here.

I want this sidebar to show up on all pages except index. Any ideas for this please?

@ryan-roemer
Copy link
Owner

ryan-roemer commented Mar 22, 2017

@ShubhamRathi -- Not sure. That's more of a "sphinx" general thing than a "sphinx bootstrap theme" thing. Perhaps the official sphinx docs can help you?

Maybe something like overriding a root template and seeing if metadata has the page path so you can do something different for index.html? (No idea if that's possible -- just guessing as to what it would look like in basic sphinx if it does)

@ShubhamRathi
Copy link
Author

AH. Okay! Thanks for the start.

@svenevs
Copy link
Collaborator

svenevs commented Mar 9, 2018

@ShubhamRathi did you ever get the exclusion of index working? If so, would you be willing to share the code here for other users?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants