# Page Publishing is broken for logged in users

**URL:** https://meta.discourse.org/t/page-publishing-is-broken-for-logged-in-users/243289
**Category:** Support
**Created:** [October 29, 2022, 3:41pm UTC](https://meta.discourse.org/t/page-publishing-is-broken-for-logged-in-users/243289 "2022-10-29T15:41:05Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [October 29, 2022, 3:41pm UTC](https://meta.discourse.org/t/page-publishing-is-broken-for-logged-in-users/243289/1 "2022-10-29T15:41:06Z")

</div>

When you publish a page, it works fine, but then go to that page.

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/5/8/858612531a69db6028de146c63c03d4367c9280f.jpeg)

Here, it looks like it’s combined many themes, the sidebar is missing, icons are gone, there are no stats, no pfp, etc.

When you’re logged out, it’s not _as_ broken, but it’s still missing icons, the sidebar, etc.

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/7/5/9754e8c64ec45c0b177dbeca72adedfb6cb02e50.jpeg)

---

<div class="post-metadata">

### Author: ![twofoursixeight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twofoursixeight/32/574822_2.png) [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)
#### Post date: [October 29, 2022, 4:04pm UTC](https://meta.discourse.org/t/page-publishing-is-broken-for-logged-in-users/243289/2 "2022-10-29T16:04:54Z")

</div>

On mobile it looks like this while logged in:

 ![Screenshot_20221029-090401](https://global.discourse-cdn.com/meta/original/4X/9/e/9/9e96e35d16de4e8127675fff1b73ebd5682e9bf8.jpeg)

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [October 29, 2022, 4:06pm UTC](https://meta.discourse.org/t/page-publishing-is-broken-for-logged-in-users/243289/3 "2022-10-29T16:06:08Z")

</div>

Yeah, I tried the Default theme and the bugs went away. Weird, I have no code to add the Air theme background, or the Inter font.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [October 30, 2022, 8:27am UTC](https://meta.discourse.org/t/page-publishing-is-broken-for-logged-in-users/243289/4 "2022-10-30T08:27:52Z")

</div>

FWIW I’ve just tried publishing a page while applying the Air Theme and it seems to be working fine for me. Both the sidebar and summary, etc show up fine on the original topic.

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [November 1, 2022, 5:19pm UTC](https://meta.discourse.org/t/page-publishing-is-broken-for-logged-in-users/243289/5 "2022-11-01T17:19:31Z")

</div>

Published page has a different style. I think this is designed to minimalistic and it a kind of reader view. Sidebar is not available _(yet)_ on published page and the header is also limited.

Here is the stylesheet for published page:

> <https://github.com/discourse/discourse/blob/main/app/assets/stylesheets/publish.scss>

Discourse Air theme adds a few modification to published page to fit to the theme but you can override these with a theme component if it is not fit with your customizations.

> <https://github.com/discourse/discourse-air/blob/976b9b30597d56506e8d15511a914e51311c583c/common/common.scss#L477-L511>

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [November 3, 2022, 1:14am UTC](https://meta.discourse.org/t/page-publishing-is-broken-for-logged-in-users/243289/6 "2022-11-03T01:14:19Z")

</div>

Found my issue.

In my theme, a really old piece of code adds the circle like the Air theme.

```plaintext
.published-page {
  &::before {
    background: linear-gradient(
      90deg,
      var(--tertiary-hover) 0%,
      var(--tertiary) 100%
    );
    clip-path: ellipse(148% 70% at 91% -14%);
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: fixed;
    z-index: 0;
  }
  .background-container {
    display: none;
  }
}

```

I’ll remove it.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [December 3, 2022, 1:15am UTC](https://meta.discourse.org/t/page-publishing-is-broken-for-logged-in-users/243289/7 "2022-12-03T01:15:05Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
