# How to add a link to the no-access message

**URL:** https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007
**Category:** Support
**Created:** [8월 30, 2018, 1:14오후 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007 "2018-08-30T13:14:35Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Dani1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dani1/32/84172_2.png) [@Dani1](https://meta.discourse.org/u/Dani1)
#### Post date: [8월 30, 2018, 1:14오후 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/1 "2018-08-30T13:14:35Z")

</div>

Hi, where can I change the “You don’t have access” message?  
And can I stick a link in there - so that people can sign up for access?

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

Thanks!

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [8월 30, 2018, 1:17오후 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/2 "2018-08-30T13:17:59Z")

</div>

Customize \> Text Content \> js.topic.invalid\_access.description

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

---

<div class="post-metadata">

### Author: ![Dani1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dani1/32/84172_2.png) [@Dani1](https://meta.discourse.org/u/Dani1)
#### Post date: [8월 30, 2018, 1:30오후 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/3 "2018-08-30T13:30:49Z")

</div>

Thanks Mike.

Is there any way to actually change that page? I’d love to include a link.

In the present set up they’ll just have to copy-paste, which is better than nothing, but it would be great if I could turn it into a bit of a sales page.

Any thoughts? Or simply not possible?

Thanks!

---

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [8월 30, 2018, 1:54오후 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/4 "2018-08-30T13:54:05Z")

</div>

If you go to the link that @mikechristopher has pointed to you can click ‘edit’ to change that text to be anything you like (as you can with any other text on the site in the same way)

To add a link, use Markdown as on the rest of the site.

For example, the first line of the `@Discobot` welcome message is written like this:

`- I’m only a robot, but [our friendly staff](/about) are also here to help if you need to reach a person.`

---

<div class="post-metadata">

### Author: ![Dani1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dani1/32/84172_2.png) [@Dani1](https://meta.discourse.org/u/Dani1)
#### Post date: [8월 30, 2018, 1:56오후 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/5 "2018-08-30T13:56:51Z")

</div>

Thanks so much, Robert, I had no idea I could do that!

\*\*\*\* goes off to happily insert link \*\*\*\*

Thanks!!!

---

<div class="post-metadata">

### Author: ![Dani1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dani1/32/84172_2.png) [@Dani1](https://meta.discourse.org/u/Dani1)
#### Post date: [8월 30, 2018, 2:21오후 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/6 "2018-08-30T14:21:12Z")

</div>

Not sure where my use of Markdown is off… any ideas?

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

&nbsp;

 ![05](https://global.discourse-cdn.com/meta/original/3X/2/8/280f570d4ee21173ff144b2a8dbb06b0b0aeee7b.png)

---

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [8월 30, 2018, 3:27오후 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/9 "2018-08-30T15:27:24Z")

</div>

Sorry about that - it is not your text, it appears to be the code of the page

In some cases, the text is delivered in a way that does not allow for markdown. It is possible that using standard HTML will work in some cases, but it appears that this may not work on this specific occasion either.

I apologise for misleading you here, but this is something you might try in other places of your forum

---

<div class="post-metadata">

### Author: ![Dani1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dani1/32/84172_2.png) [@Dani1](https://meta.discourse.org/u/Dani1)
#### Post date: [8월 30, 2018, 5:44오후 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/10 "2018-08-30T17:44:40Z")

</div>

okay, well that’s just bad luck then.  
thanks anyway, Robert!

---

<div class="post-metadata">

### Author: ![MartyMeh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martymeh/32/113462_2.png) [@MartyMeh](https://meta.discourse.org/u/MartyMeh)
#### Post date: [1월 28, 2019, 9:20오전 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/12 "2019-01-28T09:20:09Z")

</div>

This is really useful, thanks.

I would also vote for the ability to use markdown on these pages. I have a similar need to @Dani1. Did you get around it any other way Dani?

---

<div class="post-metadata">

### Author: ![Dani1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dani1/32/84172_2.png) [@Dani1](https://meta.discourse.org/u/Dani1)
#### Post date: [1월 28, 2019, 10:49오전 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/13 "2019-01-28T10:49:25Z")

</div>

Hi Marty, no i just tell them to copy/paste the link.

> You can sign up here: https//etc… Just copy/paste the link into your browser.

---

<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: [1월 28, 2019, 12:10오후 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/14 "2019-01-28T12:10:25Z")

</div>

Reminding you that the text can be changed from `Customize > Text Content > js.topic.invalid_access.description`, there is a simple CSS trick to do what you want.

In your `/admin/customize/themes > Common > Body` add:

```html
<div class="topic-error">
    <div>
        <a title="" href="http://example.com">Random text.</a>
        <p>Some other words.</p>
    </div>
</div> 

```

In your CSS add:

```css
.topic-error a:after {
   content: attr(title) " You can add other text here, or delete these quotes. ";
}

```

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

See also

> [@Insert text or images anywhere on your site using CSS pseudo-elements](https://meta.discourse.org/t/insert-plain-text-or-image-anywhere-in-discourse/99200):
>
> So, you want to insert some text or image in your Discourse site. Regarding the text in most cases it is sufficient to modify it from /admin/customize/site\_texts. Sometimes, however, it is our desire to add a sentence between two distinct blocks, rather than modifying one of the existing elements. Let’s see how to do it using the property :before and :after in CSS3. Basic steps In order to work we will need to use the developer console present on the main browsers. To open it, just press F…

---

<div class="post-metadata">

### Author: ![Dani1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dani1/32/84172_2.png) [@Dani1](https://meta.discourse.org/u/Dani1)
#### Post date: [1월 28, 2019, 12:47오후 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/15 "2019-01-28T12:47:56Z")

</div>

oh wow! Thanks!! 🤩

---

<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: [1월 28, 2019, 12:57오후 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/16 "2019-01-28T12:57:11Z")

</div>

The text here

```plaintext
.topic-error a:after {
   content: attr(title) " You can add other text here, or delete these quotes. ";
}

```

is absolutely extra and not necessary (it was just an example). In your case this is more than enough

```plaintext
.topic-error a:after {
   content: attr(title);
}

```

---

<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: [2월 27, 2019, 12:57오후 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-no-access-message/96007/17 "2019-02-27T12:57:20Z")

</div>

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