# Is this CSS for background imagery good?

**URL:** <https://meta.discourse.org/t/is-this-css-for-background-imagery-good/34358>\
**Category:** Product Support\
**Created:** [October 11, 2015, 1:06am UTC](https://meta.discourse.org/t/is-this-css-for-background-imagery-good/34358 "2015-10-11T01:06:20Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [October 11, 2015, 3:59pm UTC](https://meta.discourse.org/t/is-this-css-for-background-imagery-good/34358/5 "2015-10-11T15:59:53Z")

</div>

I’m using this on the forum I’m putting together now. I don’t think you need the media queries section if you are using a recent version of Discourse:

```css
// compatibility for all devices
@media (max-width: 1139px) and (min-width: 1000px)
{
    body:before {
        width: 1010px;
    }
}

```

Also, the width in the first part should be 1126px instead of 1125px.

The margin needs to be adjusted for the admin section. It is a problem in the Discourse css. Until that gets fixed, you can use this to keep all the admin section inside of its wrapper:

```css
.admin-contents {
    margin-left: 0;
    margin-right: 0;
}

```

The ‘Categories’ page will need a bit of work to look good like this.

---

_[View the full topic](https://meta.discourse.org/t/is-this-css-for-background-imagery-good/34358)._
