Judul Sidebar Terbagi Dua Seperti Adobe

Cara membuat judul widget terbagi dua, sebelah kiri judul dan sebelah kanan readmore, seperti adobe.com

Hari ini kita belajar memodifikasi judul widget sidebar blogger. Kita akan membuat judul sidebar mirip dengan navigasi redmore milik Adobe.com. Kita akan menerapkan properti :before dan :after dan ini bekerja tanpa masalah di browser apapun, termasuk IE8. Trik ini akan membagi header atau judul sidebar menjadi dua bagian kiri dan kanan. Bagian kiri akan berisi judul dan bagian kanan berisi link terkait. Menarik, bukan?

Langkah 1. Login ke dashboard Blogger Anda > pilih Template > Edit HTML, kemudian klik dimana saja di area HTML Editor untuk memulai pencarian - tekan CTRL + F dan temukan tag penutup </head>

Langkah 2. Tepat di atas tag </head>, Copy dan Paste CSS berikut ini.

<style>
.module h2 {
  background-color: #D5D5D5;
  border-radius: 20px 0 0 20px;
  color: #FFFFFF;
  font-family: Verdana;
  font-size: 14px;
  line-height: 32px;
  margin: 0;
  padding: 0 0 0 20px;
  text-shadow: 2px 1px 1px #222;
}

.module h2 a {
    border-left: 5px solid #ffffff;
    color: #101921;
    float: right;
    font-size: 14px;
    text-decoration: none;
    text-shadow: none;
    padding: 0 10px;
    position: relative;
   -moz-transition: padding 0.1s linear;
   -webkit-transition: padding 0.1s linear;
   -ms-transition: padding 0.1s linear;
   -o-transition: padding 0.1s linear;
}
.module h2 a:hover {
  padding: 0 32px;
}

.module h2 a:before, .module h2 a:after {
    content: &quot;&quot;;
    height: 0;
    position: absolute;
    top: 50%;
    width: 0;
}
.module h2 a:before {
    border-bottom: 8px solid transparent;
    border-right: 8px solid #ffffff;
    border-top: 8px solid transparent;
    left: -12px;
    margin-top: -8px;
}
.module h2 a:after {
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    left: -6px;
    margin-top: -6px;
}

.module.blue h2 a {background-color: #A2D5EC;}
.module.blue h2 a:hover {background-color: #C5F0FF;}
.module.blue h2 a:after {border-right: 6px solid #A2D5EC;}
.module.blue h2 a:hover:after {border-right-color: #C5F0FF;}

.module.yellow h2 a {background-color: #FCE98D;}
.module.yellow h2 a:hover {background-color: #FFD700;}
.module.yellow h2 a:after {border-right: 6px solid #FCE98D;}
.module.yellow h2 a:hover:after {border-right-color: #FFD700;}

.module.green h2 a {background-color: #bada55;}
.module.green h2 a:hover {background: #C7E176;}
.module.green h2 a:after {border-right: 6px solid #bada55;}
.module.green h2 a:hover:after {border-right-color: #C7E176;}

.module.red h2 a {background-color: #F0A5B5;}
.module.red h2 a:hover {background-color: #FFC7D2;}
.module.red h2 a:after {border-right: 6px solid #F0A5B5;}
.module.red h2 a:hover:after {border-right-color: #FFC7D2;}
</style>

Langkah 3. Simpan Template.

Langkah 4. Sekarang buka Tata letak dan tambahkan Gadget HTML/JavaScript, lalu pilih salah satu gaya di bawah ini.

Latar belakang biru:

<div class="module blue">
<h2>Judul Widget<a href="Link URL">more</a></h2>
</div>

Latar belakang kuning:

<div class="module yellow">
<h2>Judul Widget<a href="Link URL">more</a></h2>
</div>

Latar belakang hijau:

<div class="module green">
<h2>Judul Widget<a href="Link URL">more</a></h2>
</div>

Latar belakang merah:

<div class="module red">
<h2>Judul Widget<a href="Link URL">more</a></h2>
</div>

Catatan: ubah teks "Judul Widget" dengan judul widget Anda dan more teks di sebelah kanan, kemudian tambahkan Link URL untuk itu.

Tempatkan widget yang telah di atas widget yang ingin diberi judul terbagi dua ini. Misalnya Anda ingin menrapkannya untuk Artikel Populer maka hapus judul widget ini terlebih dahulu. Kemudian seret judul widget terbagi dua ini ke atas widget Artikel Populer.

Selamat mencoba..

Sumber:  Adobe Like Arrow Header

COMMENTS

Name

Adsense,2,Blockquote,1,Blogger,17,Blogger Tool,1,Blogspot,1,Contact Form,3,CSS,23,CSS3,1,Domain,1,Font,2,Halaman,3,HTML,5,JavaScript,17,jQuery,6,Komentar,2,Page Loading,1,SEO,1,Share Button,1,Sidebar,1,Tag Kondisional,1,Tema,11,Trik,1,Website,1,WordPress,2,
ltr
item
Jelas in Blog: Judul Sidebar Terbagi Dua Seperti Adobe
Judul Sidebar Terbagi Dua Seperti Adobe
Cara membuat judul widget terbagi dua, sebelah kiri judul dan sebelah kanan readmore, seperti adobe.com
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFhmcNIc1p4CNWyr11wJS1_EShkKVZkBQNJtGlElEhmsBX79kHz1CmLHmvA9GIbeIkuQs7bhwUnTQlv4QloMhylTTt8HCl6by4uQN09bp1NCzXZmLCgM6AEhvCI0vERWYWZytYKBmMu0c/s1600/judul+sidebar+seperti+adobe.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFhmcNIc1p4CNWyr11wJS1_EShkKVZkBQNJtGlElEhmsBX79kHz1CmLHmvA9GIbeIkuQs7bhwUnTQlv4QloMhylTTt8HCl6by4uQN09bp1NCzXZmLCgM6AEhvCI0vERWYWZytYKBmMu0c/s72-c/judul+sidebar+seperti+adobe.png
Jelas in Blog
https://jelasinblog.blogspot.com/2013/06/judul-sidebar-terbagi-dua-seperti-adobe.html
https://jelasinblog.blogspot.com/
https://jelasinblog.blogspot.com/
https://jelasinblog.blogspot.com/2013/06/judul-sidebar-terbagi-dua-seperti-adobe.html
true
2350744749749285503
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content