Mastodon present in “Theme panel > Social Networks”, but missing from icons

Posted in: Newsmag
Post count: 2

Hi folks,

it seems Mastodon is now integrated into the theme panel > social networks section.

That being said, if you put a link in there, a new item is added to the topbar list, but the icon itself is not loaded.

Generally, they seem to be loaded from either the SVG or font files in the theme under “Newsmag/images/icons”, yet I did not manage to find out from which file specifically.

Anway… somewhere in there, it seems, the Mastodon icon is missing.

Cheers
Thomas

Post count: 20688

Hi,

Indeed, it looks like the social was added in the theme panel, but the icon for it wasn’t added. It should have been included in the Newsmag icon font.

I could modify it and add the icon in the font file. I modified it and I uploaded it here https://cdn.tagdiv.com/wp-content/uploads/2026/06/newsmag.zip That file can be downloaded from there, and then it must be uploaded in this folder in the theme -> https://prnt.sc/-Mwc1wnWqVb7
So here wp-content\themes\Newsmag\images\icons
The file that is already there has to be replaced.

The last step is to add this CSS code in the theme Live CSS or in the theme panel custom code:

.td-icon-mastodon:before {
    content: "\e93b";
}

So here -> https://prnt.sc/hslEwixh94fl

The result should be that the Mastodon icon is displayed. You could give it a try. Or if you want I can do it, I will need access to the website and to cPanel or FTP, these can be sent by email at contact@tagdiv.com

I’m very sorry for this inconvenience.

Thank you!

Post count: 2

Hi Simion,

thanks for getting back! And: lovely, the .woff font now includes the icon and the CSS selector adds the content as expected. To anyone reading: I guess the forum software fucked up the quoting in the CSS above, so make sure to enclose the \e93b with single quotes.

Works like a charm and as expected now. Will this be incorporated into future official releases?

Cheers & Thanks
Thomas

Post count: 20688

NO problem, glad it worked.

And sorry about that issue with the CSS code, I should have pasted the code between code tags, I modified it now. Also I uploaded the woff file on our CDN so the link doesn’t expire, it’s a zip archive which contains the file.

This can be used as a solution until we permanently make the modification in the theme. Then it won’t be needed anymore.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newsmag’ is closed to new topics and replies.