Using Facebook icon in Brand Header

Hey there, so I can’t figure out what’s wrong here:

I have this FB icon typed in correctly,

But it is invisible in the header:

The invisible icon takes me to the correct FB page if I click on it in the header, but the icon simply isn’t visible.

Any thoughts?

1 Like

Thought: black icon with transparent surround over a black background perhaps?

I changed the color value of the icons in this component to $tertiary, so it matches each individual theme.

The Instagram icon is perfectly fine, and the FB icon link works perfectly fine, it just isn’t visible.

Hmmm. It still seems like it must be there though. Have you checked with Dev tools to see if it is there? And while you’re at it check the icon color is correctly being applied? Perhaps the FB icon is being overridden somehow.

Can you share a link to the community site?

My Facebook icon setting looks a bit different:

facebook-f,https://www.facebook.com/GlobalNamati

https://github.com/discourse/discourse/blob/37e7998a829f9125fd7fc5dc5c8ec8cc9bb9e544/app/assets/javascripts/discourse-common/lib/icon-library.js.es6#L173-L176

In case of “facebook” & “facebook-f” icons you should add “facebook-f” into the custom font awesome icons setting.

9 Likes

Hey, this worked like a charm! Thank you so much @vinothkannans! This really had me puzzled.

5 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.