Changing the color/text of my forum's embed (on discord)

Is there anyway to change the color of my embed, or change the text of it?

1 Like

I don’t think Discord supports different text colors… to be clear, by embed do you mean when you post a link to your community… like this?

Screen Shot 2022-02-01 at 8.34.55 PM

The description there is pulled from your community’s site description site setting

1 Like

I’m talking about the color on the side, also yes I do mean embed like that. Is there any way to change it other than the site description setting?

1 Like

About the color, it’s set by this tag:

<meta name="theme-color" content="#a97189">

Which seems to be the header background color from your default color scheme:

image

image

As for the text, I don’t think there’s a way to have a different one than the site_description setting.

2 Likes

is there any way to override both of them through a theme component? also thanks for the info!

1 Like

Quick and dirty.
Admin → Customize → Themes → Edit CSS/HTML → Common tab → Head tab:
Set additional tags:

<meta name="theme-color" content="#ff0000">
<meta property="og:description" content="Whatever you want">

The tags will be duplicated in the HTML code, but what you want to achieve will work.

Here’s an example where I replaced a black line with a red one and set “Texte arbitraire” in the og:description tag:

image


A better solution would be to actually replace the value instead of duplicating tag, but I don’t know how to do that.

3 Likes

thanks! i didn’t even know this was something you could do.

1 Like