# Graceful Theme

**URL:** https://meta.discourse.org/t/graceful-theme/93040
**Category:** Theme
**Tags:** official, graceful-theme
**Created:** [July 24, 2018, 8:09pm UTC](https://meta.discourse.org/t/graceful-theme/93040 "2018-07-24T20:09:12Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [July 24, 2018, 8:09pm UTC](https://meta.discourse.org/t/graceful-theme/93040/1 "2018-07-24T20:09:12Z")

</div>

| | | |
| --- | --- | --- |
| :discourse2: | **Summary** | **Graceful** - A graceful theme for Discourse |
| 👓 | **Preview** | [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/graceful-theme) |
| 🛠 | **Repository Link** | [https://github.com/discourse/graceful](https://github.com/discourse/graceful) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

Install this theme

> [@](#):
>
> :discourse2: As this is an #official theme maintained by the Discourse team, #Support issues, #Contribute > Bug reports, #Contribute > UX suggestions, and requests for #Development advice can be made in the respective categories here on Meta, and tagged with the appropriate theme tag. Click on a link below to get one started. 👍
> 
> [❓&nbsp; **Support**](https://meta.discourse.org/new-topic?category_id=6&tags=graceful-theme "Ask for support on configuring and using the Graceful Theme") [🐛&nbsp; **Bug**](https://meta.discourse.org/new-topic?category_id=1&tags=graceful-theme "A bug report means something is broken, preventing normal/typical use of the theme") [👀&nbsp; **UX**](https://meta.discourse.org/new-topic?category_id=9&tags=graceful-theme "Discussion about the user interface of the Graceful Theme, and how features are presented (including language and UI elements)") [🧑‍🎨&nbsp; **Dev**](https://meta.discourse.org/new-topic?category_id=7&tags=graceful-theme "Advice on how to customise this theme for your site")

### Features

I really liked the [theme shared way back in 2016](https://meta.discourse.org/t/a-graceful-style-for-discourse/43429) by @jsthon 😍. They haven’t been around since it was initially posted, so I’ve updated it, expanded it, and added it to github.

 ![graceful theme example](https://global.discourse-cdn.com/meta/original/3X/b/8/b8954e01130435768e28041f009961982a448b28.jpg)

### Settings

| Name | Description |
| --- | --- |
| background image | Enter image url |
| tile background | |
| no background image | Disable the background image and tiling settings above. |

This theme has three settings:

- A field to add your own background image
- An option to tile it
- And an option to remove both of the above options

If you disable the tile option, the image will be set to `background-size: cover`, and your browser will scale your image to proportionately cover the full background. For example:

 ![graceful theme no tile example](https://global.discourse-cdn.com/meta/original/3X/9/c/9cd11e869697f78ef0e96d9abb29351e07063357.jpg)

### Credits

Credit for the default background pattern included goes to [Toptal Subtle Patterns](https://www.toptal.com/designers/subtlepatterns/japanese-sayagata/).

  

> :discourse2: **Hosted by us?** Themes are available to use on our Standard, Business, and Enterprise plans.

> Last edited by @JammyDodger 2024-06-17T11:28:20Z
> 
> > **Check document**
> >
> > Perform check on document:

---

<div class="post-metadata">

### Author: ![eextra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eextra/32/170266_2.png) [@eextra](https://meta.discourse.org/u/eextra)
#### Post date: [January 18, 2020, 2:00pm UTC](https://meta.discourse.org/t/graceful-theme/93040/54 "2020-01-18T14:00:32Z")

</div>

Am I the only one with this problem using this theme ? When I test in google page speed gets 99% but the page doesn’t load, so the results are misleading.

What is it because google can’t see - it doesn’t load this page?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 23, 2020, 8:52pm UTC](https://meta.discourse.org/t/graceful-theme/93040/55 "2020-01-23T20:52:17Z")

</div>

Hmm, yeah I’m seeing the same issue… it seems like something in the theme is interfering with the version of Discourse we serve Google. I’ll investigate. Looks like it might be the same issue messing with the print view reported above.

---

<div class="post-metadata">

### Author: ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)
#### Post date: [March 22, 2020, 4:41am UTC](https://meta.discourse.org/t/graceful-theme/93040/70 "2020-03-22T04:41:20Z")

</div>

@awesomerobot

Very nice theme.

I’m trying to make Graceful much wider on desktop. Tried this:

```plaintext
#main-outlet {
  width: auto;
  max-width: 1210px; /* This makes the container as wide as the logo/header controls */ 
}

```

and this CSS made the overall container wider; and the suggested topics at the bottom span the page nicely but the overall width of the posts in the topics are too narrow (for my wide version).

Tried inspector, and a number of elements but not being a expert, could not get the width of the topics / posts to match the width of `#main-outlet` .

Do you mind to help me out?

Thanks

Also, tried this:

```plaintext
#main-outlet {
  width: auto;
  max-width: 80%; 
}

```

But cannot the the posts width to match the container width:

 ![Screen Shot 2020-03-22 at 12.17.12 PM](https://global.discourse-cdn.com/meta/original/3X/8/3/83a95411ac9743698020629201d7926478d0f495.jpeg)

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [March 22, 2020, 8:20pm UTC](https://meta.discourse.org/t/graceful-theme/93040/71 "2020-03-22T20:20:14Z")

</div>

topic-body has his own width setting.

Default:

```css
.topic-body {
    width: calc(690px + (11px * 2));
}

```

Change only the 690px and keep the rest (it’s linked to the padding of the topic post)

---

<div class="post-metadata">

### Author: ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)
#### Post date: [March 23, 2020, 7:32am UTC](https://meta.discourse.org/t/graceful-theme/93040/72 "2020-03-23T07:32:14Z")

</div>

Thanks! Will give it a go later and post back the results.

I tried changing `.topic-body` yesterday, but I’ll try again based on your suggestion @Steven

---

<div class="post-metadata">

### Author: ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)
#### Post date: [March 23, 2020, 11:20am UTC](https://meta.discourse.org/t/graceful-theme/93040/73 "2020-03-23T11:20:45Z")

</div>

> [@Steven](#):
>
> ```plaintext
> .topic-body {
> width: calc(690px + (11px * 2));
> }
> 
> ```
> 
> Change

Hi @Steven,

Added the following to the desktop CSS:

```plaintext
#main-outlet {
  width: auto;
  max-width: 80%; 
}

.topic-body {
    width: calc(1020px + (11px * 2));
}

```

It worked partially, but there is some issue. Perhaps you know the CSS trick to fix it?

See Image:

 ![Screen Shot 2020-03-23 at 6.17.50 PM](https://global.discourse-cdn.com/meta/original/3X/e/d/ed7492c908e893d5cbd10b2fd050c8be82a2f5a8.jpeg)

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [March 23, 2020, 12:10pm UTC](https://meta.discourse.org/t/graceful-theme/93040/74 "2020-03-23T12:10:41Z")

</div>

I’m not on my computer but I know there is some margin-left to correct with the class timeline-container

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [March 23, 2020, 12:14pm UTC](https://meta.discourse.org/t/graceful-theme/93040/75 "2020-03-23T12:14:35Z")

</div>

Right, for the timeline there are a few margin-lefts that need to be overridden on `.timeline-container ` (three breakpoints):

> <https://github.com/discourse/discourse/blob/cd5b7109d04722df5c39b2ded9fa4ead6c290ce4/app/assets/stylesheets/common/topic-timeline.scss#L8>

---

<div class="post-metadata">

### Author: ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)
#### Post date: [March 24, 2020, 9:11am UTC](https://meta.discourse.org/t/graceful-theme/93040/76 "2020-03-24T09:11:28Z")

</div>

Hi @awesomerobot

Kris,

The way we got the `wide look` we wanted was to be less `graceful` and hide the `.timeline-container`.

```plaintext
#main-outlet {
  width: auto;
  max-width: 70%; 
}

.topic-body {
    width: 100%;
}

.timeline-container .topic-timeline {
      display: none;
 }

```

Not very `graceful` but at least it’s working ‘ok’ with large blocks of code, it is easier to read on the big developers screen.

Would be nice to show the `.timeline-container` but I could not get it to work overriding the class as suggested, surely because of my not well-developed CSS skills:

Thank you for your help and for this nice theme.

---

<div class="post-metadata">

### Author: ![Solari](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/solari/32/186728_2.png) [@Solari](https://meta.discourse.org/u/Solari)
#### Post date: [August 8, 2020, 3:09pm UTC](https://meta.discourse.org/t/graceful-theme/93040/80 "2020-08-08T15:09:52Z")

</div>

I am loving this theme so far. Many thanks for sharing it with us!

I’ve noticed on mobile view the category color bars disappear. Is this on purpose and is there a way to restore it?

Also, is there a way to turn off the background if a category has a background set? It seems to work okay but when scrolling on long posts the screen gets jerky and you can glimpse the theme set background.

Thanks!  
Ray

---

<div class="post-metadata">

### Author: ![Solari](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/solari/32/186728_2.png) [@Solari](https://meta.discourse.org/u/Solari)
#### Post date: [August 20, 2020, 8:00pm UTC](https://meta.discourse.org/t/graceful-theme/93040/81 "2020-08-20T20:00:46Z")

</div>

> [@Solari](#):
>
> I’ve noticed on mobile view the category color bars disappear. Is this on purpose and is there a way to restore it?

I dug into mobile CSS and saw it was being excluded; commenting out the “left-border” portion turned the colored borders back on:

```
.category-list-item {
// border-left: none;
  border-top: 2px solid;
  .category-name {
    font-weight: normal;
  }
}

```

However, I know this will be overwritten whenever the theme is updated. What’s the best way to keep modifications in those situations?

I do have a custom theme component where I keep custom CSS changes, this in the mobile CSS portion:

```
.category-list-item {
  border-left: 4px !important; 
}

```

…but it doesn’t show the specific category color, just a white bar. How do I get it to show the proper category color? I know it has something to do with category color variables but I can’t seem to find reference to it.

I’m a newb when it comes to CSS and such so I may be doing something wrong.

Thanks,  
Ray

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [November 29, 2020, 6:04pm UTC](https://meta.discourse.org/t/graceful-theme/93040/91 "2020-11-29T18:04:39Z")

</div>

Have issue with the header colors.

Changed the header backgroup colour and the header Text, but it’s not not honoring the settings

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/4/f42e193dbae3b66c4b51e8ff731ea34b9eca2a7d.png)

The icons stays grey

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/5/d583e20f8ca61e3b881234c4d2663067ee06c051.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/9/59ca55c136e135506e15cf2a4f8e6f65f0011a3d.png)

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [November 30, 2020, 10:51am UTC](https://meta.discourse.org/t/graceful-theme/93040/92 "2020-11-30T10:51:39Z")

</div>

It’s the default behavior since the color is a “low-mid” variable of `#ffffff` and not the pure color.

See here to overwrite that color, [How to Change Header Icon Color? - #2 by awesomerobot](https://meta.discourse.org/t/how-to-change-header-icon-color/106098/2)

---

<div class="post-metadata">

### Author: ![Jack51](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jack51/32/201652_2.png) [@Jack51](https://meta.discourse.org/u/Jack51)
#### Post date: [January 17, 2021, 4:39am UTC](https://meta.discourse.org/t/graceful-theme/93040/100 "2021-01-17T04:39:36Z")

</div>

Just want to call out what an awesome theme this has proven to be. Absolutely love its clean look.

---

<div class="post-metadata">

### Author: ![Solari](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/solari/32/186728_2.png) [@Solari](https://meta.discourse.org/u/Solari)
#### Post date: [January 20, 2021, 4:01am UTC](https://meta.discourse.org/t/graceful-theme/93040/101 "2021-01-20T04:01:40Z")

</div>

Agreed! One of the best looking Discourse themes out there.

Ray

---

<div class="post-metadata">

### Author: ![oshyan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oshyan/32/212644_2.png) [@oshyan](https://meta.discourse.org/u/oshyan)
#### Post date: [February 12, 2021, 2:06am UTC](https://meta.discourse.org/t/graceful-theme/93040/102 "2021-02-12T02:06:07Z")

</div>

I must be dense, but I can’t get the logo to change size with a theme component created to adjust CSS. I can change the overall header height, but the logo remains stubbornly the same. This CSS seems to knock out any changes I attempt to make:

.d-header #site-logo {  
max-height: 35px !important;  
}

According to Chrome Inspector it’s coming from: desktop-scss-graceful.scss

Changing logo size works fine with the default theme and, as I said, changing header height works with Graceful, just not the logo…

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [February 12, 2021, 4:31am UTC](https://meta.discourse.org/t/graceful-theme/93040/103 "2021-02-12T04:31:50Z")

</div>

Yeah the `!important` overrides any other CSS without an `!important`… I don’t recall why it’s there but I should look into removing it. Does it work if you include an important with your own CSS?

```scss
.d-header #site-logo {
max-height: 50px !important; // <-- your custom height here
}

```

---

<div class="post-metadata">

### Author: ![oshyan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oshyan/32/212644_2.png) [@oshyan](https://meta.discourse.org/u/oshyan)
#### Post date: [February 12, 2021, 6:13am UTC](https://meta.discourse.org/t/graceful-theme/93040/104 "2021-02-12T06:13:50Z")

</div>

Thanks for the quick reply! I had actually noticed the !important and tried adding it to mine, to no avail. The odd thing is, trying it now, when I save that change and it refreshes, for a _moment_ it appears the right size, then it shrinks down again. And in the Inspector it _appears_ to be doing the right thing:

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

At least in the sense that the 35px is disabled. But the order seems funny, at the least. And in any case it’s still not working. Strange.

I’m putting this in Common CSS for what it’s worth…

Update: found it! It’s :

> ```
> .d-header #site-logo {
> height: 2.667em;
> }
> 
> ```

in header.scss!

And if I add my own height: with !important it works!

---

<div class="post-metadata">

### Author: ![oshyan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oshyan/32/212644_2.png) [@oshyan](https://meta.discourse.org/u/oshyan)
#### Post date: [February 13, 2021, 1:49am UTC](https://meta.discourse.org/t/graceful-theme/93040/105 "2021-02-13T01:49:48Z")

</div>

OK, next question, which I _think_ is specific to this theme. I’m using it as a basis to make a sort of personal “blog” (actually a digital garden, but that’s kind of an obscure term). Since basically every post will be authored by me, I want to remove or reduce the prominence of certain authorial visual elements, mainly avatars, and especially in the topic lists on the front page and in categories. Outlined in red is what I want to hide, if possible:

 ![topic-list-avatar](https://global.discourse-cdn.com/meta/original/3X/7/e/7ed682969dc7cd5025d13f7997aed3d58345272a.jpeg)

You can probably see why. 😄

Things I’ve tried:

- Advice in [How to hide users column on latest?](https://meta.discourse.org/t/how-to-hide-users-column-on-latest/64229)
- Advice in [Removing avatars in category view](https://meta.discourse.org/t/removing-avatars-in-category-view/29036)
- [MD Topic List component](https://meta.discourse.org/t/md-topic-list-component/117694) (does not appear to be compatible with theme)
- Using Chrome dev tools to find the classes/IDs and attempt to hide them (note to self: do not hide ember-view 😬😆 )

I am also looking into and experimenting with various components to show the first image in a topic as a thumbnail. If I could replace those avatars with little thumbnails of first image in the topic, that’d be great too. But hiding them is a good start.

Thanks in advance!

[Next page](https://meta.discourse.org/t/graceful-theme/93040.md?page=2)
