2.1 Yukarı git modu

replikacep

Tam Üye
Katılım
15 Ara 2018
Mesajlar
237
Tepkime puanı
30
Puanları
28
Yaş
1020
Web sitesi
www.replikacep.com
index.template.php  de bul  :

Kod:
// Show the load time?
 if ($context['show_load_time'])
 echo '
 <p>', sprintf($txt['page_created_full'], $context['load_time'], $context['load_queries']), '</p>';

 echo '
 </div>
 </div><!-- #footer -->';

}

degiştir :

Kod:
// Show the load time?
 if ($context['show_load_time'])
 echo '
 <p>', sprintf($txt['page_created_full'], $context['load_time'], $context['load_queries']), '</p>';

 echo '
 </div>
 </div><!-- #footer -->
 <a href="#" class="scroll-to-top hidden-print"><i class="fa fa-chevron-up fa-lg"></i></a>
 <a href="', $scripturl, '" class="link-to-home"><i class="fa fa-home fa-lg"></i></a>';

}

index.css ye ekle

Kod:
.scroll-to-top.active {
    right: 10px;
}
.scroll-to-top i {
    line-height: 37px;
}
.scroll-to-top {
    position: fixed;
    display: block;
    right: -100px;
    bottom: 10px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    background-color: #11bef666 !important;
    color: #fff !important;
    text-align: center;
    z-index: 10;
    border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    box-shadow: none;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}
.link-to-home.active {
    right: 10px;
}
a.link-to-home {
    color: #fff;
}
.link-to-home {
    position: fixed;
    right: -100px;
    bottom: 55px;
    background-color: #11bef699 !important;
    font-size: 15px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 10px 10px 0 0;
    transition: all 0.5s ease;
}

kullanılan tema/scripts/theme.js ye en  sona ekle

Kod:
$(function() {
    $('#searchlink').on('click', function(e) {
    	$(this).toggleClass('open');
    });
});
	$(document).ready(function(){
		$(".dropdown").hover(
			function() {
				$(".dropdown-menu", this).stop( true, true ).fadeIn("fast");
				$(this).toggleClass("open");
				$("b", this).toggleClass("caret caret-up");
			},
			function() {
				$(".dropdown-menu", this).stop( true, true ).fadeOut("fast");
				$(this).toggleClass("open");
				$("b", this).toggleClass("caret caret-up");
		});
		$(".scroll-to-top").click(function() {
			$("html, body").animate({ scrollTop: 0 }, 600);
			return false;
		});
		$(window).scroll(function(){

			var position = $(window).scrollTop();

			if(position >= 200) {
				$(".scroll-to-top").addClass("active")
				$(".link-to-home").addClass("active")
			}
			else {
				$(".scroll-to-top").removeClass("active")
				$(".link-to-home").removeClass("active")
			}
		});
		$( ".navbar-toggle").click(function(){
			$("#menu").addClass("show-menu");
		});
	});

NOT : ozel Tema  içerisinden ayıklanıp paylaşılmıştır  kodların sahibi : webtiryaki.com (Geçitli)
 

Yasal Uyarı

İçerik sağlayıcı paylaşım sitesi olarak hizmet veren webtiryakin.com 5651 sayılı kanunun 8. maddesine ve T.C.Knın 125. maddesine göre tüm üyelerimiz yaptıkları paylaşımlardan kendileri sorumludur. Hukuka ve mevzuata aykırı olduğunu düşündüğünüz içeriği BURADAN bildirebilirsiniz. Kısa sürede dönüş yapmaya çalışacağız.
Geri
Üst