i'm following tutorial of responsive website using jekyll. i'm working on header , i'm trying use image background of header, i'm having problem find relative path image.
this path of image in computer: /users/carolecarlos/pictures/60h.png
and path of folder i'm saving project: /users/carolecarlos/desktop/devtips-starter-kit-jekyll-starter-kit
i'm using following code set image background using sass:
header { height: 450px; background: url(../pictures/60h.png); } but not work. i've tried paths don't know i'm doing wrong can't find image. i'm using expresso text editor.
i know not hard thing solve, i've been trying make work while now, , can't figure out.
you need go 2 directories below code. ../ filler each directory level in relative paths.
header { height: 450px; background: url(../../pictures/60h.png); }
Comments
Post a Comment