Ads (728x90)

Kali ini Saya akan Share Cara Membuat Pesan dari Admin di Blog Contohnya Seperti di Atas

Ini di langkah-langkahnya :
-Buka Blogger.com

-Masuk ke Template
-Edit HTML

-Kan di situ ada kode-kode gak jelas, Tekan Ctrl+F & dan cari </body>
-Kalau Sudah Ketemu Copy Kode di Bawah ini
<style type='text/css'>
.notification{height:70px;width:480px;display:block;position:fixed;bottom:10px;left:10px;/*Border Radius*/border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;/*Box Shadow*/-moz-box-shadow:2px 2px 2px #cfcfcf;-webkit-box-shadow:2px 2px 4px #cfcfcf;box-shadow:2px 2px 2px #cfcfcf}
.notification span{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUTXIt-kQpzUCjhVa8Kpw_RJrOfcr1DbzvJyoZdGu54IbsKOBQqsmAYdJpJDCMBuIhY1vbXLXdSN6jQvybZjLKlLMjfwG93BVb1p6VXpGGmWCUgHVJC19OJ7mtnni9PT9igeBYMA_u6bI/) no-repeat right top;cursor:pointer;display:block;width:19px;height:19px;position:absolute;top:-9px;right:-8px}
.notification p{width:400px;font-family:Arial,Helvetica,sans-serif;color:#323232;font-size:14px;line-height:21px;text-align:left;float:right;margin:10px 15px 0 0;*margin-top:15px;/*for lt IE8*/padding:0;/* TEXT SHADOW */ text-shadow:0 0 1px #f9f9f9}
.warning{border-top:1px solid #fefbcd;border-bottom:1px solid #e6e837;/*Background Gradients*/background:#feffb1;background:-moz-linear-gradient(top,#feffb1,#f0f17f);background:-webkit-gradient(linear,left top,left bottom,from(#feffb1),to(#f0f17f))}
.warning:before{content:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFdyXpp_8RWqliqOf4ElN9CPlgqs7pIWs8ZaUISuFAqloCo8eMGC5Z0w9x5QG1AwY47o1-IC6RZhdeA7tQt78FiirebxCMdP86eL3PZ3jYCm5OiO7OvYDZg2tCqajryT_ASuPEouWAXr8/);float:left;margin:15px 15px 0 25px}
.warning strong{color:#e5ac00;margin-right:15px}
</style>
-Taruh tepat di atas kode </body>
-Tambahkan Kode di Bawah Ini

1.Hanya Muncul di Halaman Utama
<script type='text/javascript'>
$(document).ready(function(){$(&#39;.notification&#39;).hover(function(){$(this).css(&#39;cursor&#39;,&#39;auto&#39;);});$(&#39;.notification span&#39;).click(function(){$(this).parent().fadeOut(800);});});</script>
<div class='notification warning'><span/>
<p><strong>Pesan Admin :</strong>Pesan Anda</p></div>
<b:if cond='data:blog.url == data:blog.homepageUrl'></b:if>
2.Muncul di halaman Posting
 
<script type='text/javascript'>
$(document).ready(function(){$(&#39;.notification&#39;).hover(function(){$(this).css(&#39;cursor&#39;,&#39;auto&#39;);});$(&#39;.notification span&#39;).click(function(){$(this).parent().fadeOut(800);});});</script>
<div class='notification warning'><span/>
<p><strong>Pesan Admin :</strong>Pesan Anda</p></div>
<b:if cond='data:blog.pageType == "item"'></b:if>


-Jika Sudah Klik Simpan


Selamat Mencoba