# Franklin website background error on deployment

**URL:** https://discourse.julialang.org/t/franklin-website-background-error-on-deployment/93629
**Category:** Performance
**Tags:** franklin
**Created:** [January 27, 2023, 12:25pm UTC](https://discourse.julialang.org/t/franklin-website-background-error-on-deployment/93629 "2023-01-27T12:25:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![raman\_kumar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raman_kumar/32/26782_2.png) [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)
#### Post date: [January 27, 2023, 12:25pm UTC](https://discourse.julialang.org/t/franklin-website-background-error-on-deployment/93629/1 "2023-01-27T12:25:57Z")

</div>

Franklin website background image is visible in live server but not on gh-pages. How to make background image visible on [gh-pages](https://github.com/raman-maker/Maria.github.io/tree/master) also ? 😒

```
LIVE SERVER look  

```

 ![image](https://global.discourse-cdn.com/julialang/original/3X/4/a/4afe580efe01d53bda022cfbf817812f85ff5fd7.png)

```
GH pages look below

```

 ![image](https://global.discourse-cdn.com/julialang/original/3X/3/2/3230eba6161b49aba33f2a8a268e3416a9d1e645.png)

The content of Franklin.css is given below:

```julia
/* ==================================================================
    Body
================================================================== */
body { 
    background-image: url("/assets/bg.jpg");
    background-attachment:;
    background-size: 1000px;
    -webkit-background-size: ;
    -moz-background-size:;
    -o-background-size: ;
    margin:0;
  }

```

---

<div class="post-metadata">

### Author: ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)
#### Post date: [January 27, 2023, 2:06pm UTC](https://discourse.julialang.org/t/franklin-website-background-error-on-deployment/93629/2 "2023-01-27T14:06:48Z")

</div>

This is a CSS oddity, the path should be given relative to where the CSS sheet is, given that it sits in `css` and that you want something in `assets/` could you try:

```css
background-image: url("../assets/bg.jpg")

```
