Adding Font Awesome to Announcement (notice)

  • Konbuyu başlatan Michaelgen
  • Başlangıç tarihi

[XFB] Konu Bilgileri

Konu Hakkında Merhaba, tarihinde Şablon değişiklikleri kategorisinde Michaelgen tarafından oluşturulan Adding Font Awesome to Announcement (notice) başlıklı konuyu okuyorsunuz. Bu konu şimdiye dek 139 kez görüntülenmiş, 4 yorum ve 0 tepki puanı almıştır...
Kategori Adı Şablon değişiklikleri
Konu Başlığı Adding Font Awesome to Announcement (notice)
Konbuyu başlatan Michaelgen
Başlangıç tarihi
Cevaplar
Görüntüleme
İlk mesaj tepki puanı
Son Mesaj Yazan Novinki myziki_pkMt
  • Michaelgen

  • guest
    coldfrm.com.tr
    1707044435352.png
    Normally the announcement
    1707044459488.png
    Font Awesome
    1707044474380.png
    https/.../admin.php?notices/ We are going

    Click Add warning.
    To the message part:
    Kod:
    <hr align="left" width="50%">
    Hello Welcome to Guest!<br>
    <a href="/register">Register here</a> to benefit more from the forum

    after adding
    Add image section
    We choose no image
    Appearance style is
    We choose using other, custom CSS class name
    We're writing announcements to the box
    The Visibility section
    Hide below Width-Medium (650px)
    we choose

    If you are a visitor, we choose user criteria and we are finished here

    extra.less we add
    Kod:
    .notices {
        position:relative;
        background-color: @xf-paletteAccent1;
    } 
    .notices:before {
        content: "\f234";
        font-family: FontAwesome;
        right:15px;
        position:absolute;
        color: @xf-paletteNeutral2;
        font-size: 80px;
    }
     

    Create an account or login to comment

    You must be a member in order to leave a comment

    Create account

    Create an account on our community. It's easy!

    Log in

    Already have an account? Log in here.

    Üst