dax
(Daniela)
28. Januar 2019 um 12:10
14
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:
<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:
.topic-error a:after {
content: attr(title) " You can add other text here, or delete these quotes. ";
}
See also
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 …
4 „Gefällt mir“