Celil

WFN Üye
Konular
2
Mesajlar
3
Çözüm
0
Ticaret Puanı
0
Üyelik
2 Yıl 7 Ay 7 Gün
Konum
Konya
Web Sitesi
Yok
Alanı
Back-End Developer
1/1
Konu sahibi
Güncelleme geldi bu konuyla ilgili ancak eski sürümlerde halen kuş ikonu duruyor paylaşım kısmında bunu x ile değiştirmeyi göstereceğim.

Aşağıdaki kodu extra.less şablonunda en alta ekle :)

Kod:
.shareButtons-button.shareButtons-button--twitter:hover {
    background-color: #000000;
}
.shareButtons--iconic .shareButtons-button>svg {
    vertical-align: middle;
}

share_page_macros şablonuna git ve aşağıdaki kodu bul

Kod:
<xf:if is="$xf.options.tweet.enabled">
    <a class="shareButtons-button shareButtons-button--brand shareButtons-button--twitter" data-href="https://twitter.com/intent/tweet?url={url}&amp;text={title}{{ $xf.options.tweet.via ? '&amp;via=' . $xf.options.tweet.via : '' }}{{ $xf.options.tweet.related ? '&amp;related=' . $xf.options.tweet.related : '' }}">
        <i aria-hidden="true"></i>
        <span>{{ phrase('twitter') }}</span>
    </a>
</xf:if>

worked-49-8c795dd20934.webp


ve bu kodu aşağıdaki ile değiştir

Kod:
<xf:if is="$xf.options.tweet.enabled">
    <a class="shareButtons-button shareButtons-button--brand shareButtons-button--twitter" data-href="https://twitter.com/intent/tweet?url={url}&amp;text={title}{{ $xf.options.tweet.via ? '&amp;via=' . $xf.options.tweet.via : '' }}{{ $xf.options.tweet.related ? '&amp;related=' . $xf.options.tweet.related : '' }}">
        <svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"/></svg>
        <span>{{ phrase('twitter') }}</span>
    </a>
</xf:if>
 
Moderatör tarafında düzenlendi:
Güzel bir anlatım olmuş Celil buradaki Paylaş: yazısı çok sade kalıyor mesela onada böyle ikonlara verildiği gibi soft bir görünüm kazandırabilir misin
 

Sende şimdi bize katılmak ister misin?

Kayıt ol

Bize katılım kolay ve ücretsizdir!

Konuyu görüntüleyenler

Bu konuyu şu anda görüntüleyen üye bulunmuyor.
Robotlar:
  • Common Crawl