ŞABLON Breadcrumb Customization for XenForo 2.3.x Versions

Dikkat
Forumumuzda Türk yazılım geliştiricilerinin ürettikleri içerikleri paylaşmak yasaktır.
Bu tür eklenti, tema, şablon düzenlemeleri ile ilgili değişiklikler için paylaşım yapmadan önce forum yönetiminden izin almalısınız.
Konu Sahibi

Mpyunlock

Moderator
Katılım
26 Eki 2025
Konular
3
Mesajlar
24
Çözümler
2
Tepkime puanı
27
Yaş
44
Konum
Türkiye
  • #1
Breadcrumb customization codes for XenForo 2.3.x. You can customize the breadcrumb area by adding the code below to the extra.less template.

After adding the codes, you'll see a view like the one below.


wjqUcT.png


 
  • #2
tam olarak ne işe yarıyo
 
Konu Sahibi
  • #3
wjz2Fb.png


Resimdeki Görseli Düzeliyor Hocam
 
  • #4
2.3.7 Bir işe yaramıyor aksine tasarımı bozuyor
 
  • #5
Aşağıdaki şekilde deneyip yorum yazar mısınız;


Kod:
.p-breadcrumbs {
    margin-bottom:15px; flex: 1 1 auto; width: 100%; font-size: 12px; border-color: @xf-borderColor;
    border-radius: 3px; overflow: hidden; position: relative; z-index: 0; color: @xf-textColor;
    background: @xf-contentBg; max-height:48px;
    &:before {
        display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
        border: 0px; border-radius: inherit; pointer-events: none; z-index: 2;}
    li {
        margin: 0; padding-left: 15px; float: left; margin-right: -1.5em; font-size: 13px;

        &:first-of-type {
            a { &:before, &:after { width: calc(100% + 20px);}}
        }


        &:last-child a:before,
        &:last-child a:after {
            background: darken(@xf-contentAltBg, 20%);
        }

        &:after {
            content: ""; width: 1.28571429em; display: inline-block; text-align: center;
        }

        a {
            padding: 10px 15px; position: relative; z-index: 1; display:inline-block; overflow: visible;
            max-width: none; text-decoration: none; color: inherit; margin-left: -13px;

            &:before { top: 0; transform: skewX(35deg);}
            &:after { top: 50%; transform: skewX(-35deg);}

            &:before, &:after {
                border-style: solid; border-width: 0; border-right-width: 1px;
                box-shadow: inset currentColor -1px 0px 0px 0px; content: ''; position: absolute;
                height: 50%; width: 100%; right: 0; z-index: -1; box-sizing: border-box;
                transform-origin: 100% 50%; border-color: @xf-contentAltBg; color: @xf-borderColor;
            }

            &:hover:before, &:hover:after {
                background: darken(@xf-contentAltBg, 15%);
            }
        }
    }
}

@media (max-width: @xf-responsiveNarrow) {
    .p-breadcrumbs {
        li {
            &:before {display:none;}
            a:before {top: 0; transform: skewX(-35deg); width: calc(100% + 20px);}
            a:after {top: 50%; transform: skewX(35deg); width: calc(100% + 20px);}
        }
    }
}
 
  • #6
Aşağıdaki şekilde deneyip yorum yazar mısınız;


Kod:
.p-breadcrumbs {
    margin-bottom:15px; flex: 1 1 auto; width: 100%; font-size: 12px; border-color: @xf-borderColor;
    border-radius: 3px; overflow: hidden; position: relative; z-index: 0; color: @xf-textColor;
    background: @xf-contentBg; max-height:48px;
    &:before {
        display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
        border: 0px; border-radius: inherit; pointer-events: none; z-index: 2;}
    li {
        margin: 0; padding-left: 15px; float: left; margin-right: -1.5em; font-size: 13px;

        &:first-of-type {
            a { &:before, &:after { width: calc(100% + 20px);}}
        }


        &:last-child a:before,
        &:last-child a:after {
            background: darken(@xf-contentAltBg, 20%);
        }

        &:after {
            content: ""; width: 1.28571429em; display: inline-block; text-align: center;
        }

        a {
            padding: 10px 15px; position: relative; z-index: 1; display:inline-block; overflow: visible;
            max-width: none; text-decoration: none; color: inherit; margin-left: -13px;

            &:before { top: 0; transform: skewX(35deg);}
            &:after { top: 50%; transform: skewX(-35deg);}

            &:before, &:after {
                border-style: solid; border-width: 0; border-right-width: 1px;
                box-shadow: inset currentColor -1px 0px 0px 0px; content: ''; position: absolute;
                height: 50%; width: 100%; right: 0; z-index: -1; box-sizing: border-box;
                transform-origin: 100% 50%; border-color: @xf-contentAltBg; color: @xf-borderColor;
            }

            &:hover:before, &:hover:after {
                background: darken(@xf-contentAltBg, 15%);
            }
        }
    }
}

@media (max-width: @xf-responsiveNarrow) {
    .p-breadcrumbs {
        li {
            &:before {display:none;}
            a:before {top: 0; transform: skewX(-35deg); width: calc(100% + 20px);}
            a:after {top: 50%; transform: skewX(35deg); width: calc(100% + 20px);}
        }
    }
}

evet bu sıkıntısız calişti teşşekürler.
 
Geri
Üst Alt