Help needed with theming and logo

Hi everyone hope you are well…

I’m currently new to admin status on the website I’m on ( and new to css ), I’m adding new styles, etc but there’s one more thing I’d like to change but I cannot find out how to do it, either I’m looking for the wrong thing, area or using the wrong wording…

basically the logo on the top left of my site, id like it to go to an external link via a new tab or simply just open that link… Is this possible… many thanks and apologies if this has been asked before …

many thanks for any help

Have a look at Developer’s guide to Discourse Themes and Beginner’s guide to using Discourse Themes. But if what you want is for the logo that people expect to go to the home of your forum to instead go to some other web site, it’s a bit more unusual. I think I’ve done it before but can’t quite remember where or how. GitHub - discourse/discourse-custom-header-links might provide some hints.

1 Like

ok thanks for the reply, It would just make the logo more useful seen as it is a community site and the logo is the brand if you get my meaning.

You could also use an existing component to achieve this. Depending on your design it can be more obvious to users that these links will take them away from the forum and to your main brand site.

3 Likes

Like a pop up when you hover over the logo

No, that would add a separate “brand” header to your site.

To link the existing logo to an external site you’d need to modify it with a short script:

<script type="text/discourse-plugin" version="0.8">
  api.changeWidgetSetting('home-logo', 'href', 'https://example.com');
</script>

Though as said, this could be an unexpected action for your users.

2 Likes