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

How to add background image to the site? #132

Closed
ipstone opened this issue Mar 28, 2020 · 1 comment
Closed

How to add background image to the site? #132

ipstone opened this issue Mar 28, 2020 · 1 comment

Comments

@ipstone
Copy link

ipstone commented Mar 28, 2020

Hello, thanks for this theme, it's super useful!

My question is how to add a background image (transparent) to the hugo site? Is there someplace where we can modify to add some css code such as:

body {
 background-image: url("paper.png");
 background-color: #cccccc;
}

thanks for your help/suggestions in advance!

-- ipstone

@alanorth
Copy link
Owner

Dear @ipstone, you can add custom code to the <head> by creating a layouts/partials/head-custom.html file in your blog and the theme will include it when it builds. See #17 where this was added. Cheers!

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

2 participants