The discussion revolves around adding text alongside a logo in Discourse, with the text also being linked. Arta_S initially found a solution to add the text using CSS, but it wasn’t linked. Canapin suggested modifying the CSS to target the link containing the logo, but this didn’t quite work for Arta_S.
Don provided a different solution using a script that adds an HTML link after the logo, which Arta_S found perfect. However, Arta_S noted that this solution didn’t look good on mobile phones.
Don then suggested using a different logo for mobile, which can be set in the site settings under branding. Arta_S found this solution helpful, also realizing that having a wide logo that includes the text, as suggested by pfaffman, is a viable alternative.
Basically, it shows the default logo of discourse the way it is set to site setting. Then adds a :after content to include the text. So the text is coming from CSS.
First, there’s is kind of a typo on the very first CSS line (:written twice).
Then, if you change the selector to target the actual link that contains the logo:
.d-header .title a:after {
Then the text will be contained in the <a> tag and have the link as well.
It looks like the way that this is done on this site is to have a wide logo that includes the text. How about doing that?
Weirdly, Robert asked the same question i the linked topic and had no reply either