Jump to content

X Logo Shows as Facebook Logo after upgrade to 4.7.14


Go to solution Solved by teraßyte,

Recommended Posts

After upgrading my site from 4.7.13 to 4.7.14, my Twitter/X logo is now showing my Facebook logo--so there are two Facebook logos, one for Facebook and the other for Twitter/X.

I noticed there were some template changes with this update, including this one:

core → front → global → siteSocialProfiles

{{if \IPS\Settings::i()->site_social_profiles AND $links = json_decode( \IPS\Settings::i()->site_social_profiles, TRUE ) AND \count( $links )}}
	{{foreach $links as $profile}}
		<a class='cUserNav_icon'>
            {{if $profile['value'] == 'x'}}
            <a href='{$profile['key']}' target='_blank' class='cShareLink cShareLink_x' rel='noopener noreferrer'><img src="{resource="logos/x.svg" app="core" location="global"}" width='13' height='12' style='vertical-align: middle'></a>
            {{else}}
			<a href='{$profile['key']}' target='_blank' class='cShareLink cShareLink_{$profile['value']}' rel='noopener noreferrer'><i class='fa fa-{$profile['value']}'></i></a>
		    {{endif}}
        </li>
	{{endforeach}}
{{endif}}

Any idea on how I can fix this?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...