Jump to content
View in the app

A better way to browse. Learn more.

Learn more

Change Default Missing Icon

Featured Replies

Hi all,

I would like to change the default missing/fallback icon for forum buttons and the Topic widget (and possibly in other places too). I am a bit surprised there is no inbuilt way to change the default images.

I have tried to use CSS, but I do not know how to achieve this when variables are involved. The HTML for the Topics feed:

.ipsData__image > i::before {
    content: var(--i-data--fallback-icon, "\f1c5");
}

I can change the forum buttons image, but I need to do this for each forum. Further, although the image takes, the forum buttons disappear - this is not what I trying to achieve. I just wish to replace the icon.

.fa-ips::before {
    content: var(--icon, "\f1c5");
}

Thanks.

  • Author
24 minutes ago, teraßyte said:

You can use this CSS:

:root {
    --icon: "\f025";
}

For example, the CSS above will change the icon to the headphones one: https://fontawesome.com/icons/headphones?f=classic&s=solid

Oh. I see. It is an external fontawesome source. Thank you, @teraßyte! But how would I, for example, use my site logo as the fallback icon?

Recently Browsing 0

  • No registered users viewing this page.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.