how to include background images

57 views
Skip to first unread message

carlkl

unread,
Jan 8, 2017, 2:50:17 PM1/8/17
to nikola-discuss
Is there a convenient way to include background images to blog posts?

carlkl

Chris Warrick

unread,
Jan 9, 2017, 12:01:12 PM1/9/17
to Nikola—Discuss
On 8 January 2017 at 20:50, carlkl <cmkle...@gmail.com> wrote:
> Is there a convenient way to include background images to blog posts?
>
> carlkl

Please be more specific: how would those images look? Where would they appear?

--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

carlkl

unread,
Jan 13, 2017, 5:14:06 AM1/13/17
to nikola-discuss
Simply use an image as a background instead of using a background color.

I recently found http://stackoverflow.com/questions/10952523/insert-a-background-image-in-css-twitter-bootstrap
and have to find out howto do it in Nikola.

Carl

Chris Warrick

unread,
Jan 13, 2017, 5:15:47 AM1/13/17
to Nikola—Discuss
On 13 January 2017 at 11:14, carlkl <cmkle...@gmail.com> wrote:
> Simply use an image as a background instead of using a background color.
>
> I recently found
> http://stackoverflow.com/questions/10952523/insert-a-background-image-in-css-twitter-bootstrap
> and have to find out howto do it in Nikola.
>
> Carl

This is nothing Bootstrap-specific, just put any CSS that changes
background of body to an image URL in files/assets/css/custom.css.

(If you want a different background for every blog post, which is
unusual, you will need some more work)
Reply all
Reply to author
Forward
0 new messages