Thêm Khung tìm kiếm đẹp cho blogger
Thủ thuật Blogger hôm nay mình giới thiệu tới các bạn là thêm hộp khung box tìm kiếm cho blogspot. Ở bài viết Khung tìm kiếm cho blogger mình cũng đã giới thiệu cách thêm thủ thuật này.
Tuy nhiên, ở bài viết này mình giới thiệu nhiều mẫu hơn, và màu sắc có vẻ 3D trong và sắc nét tươi tắn hơn ^^
CODE:
CODE:
CODE:
CODE:
CODE:
Chúc các bạn thành công
!
Tuy nhiên, ở bài viết này mình giới thiệu nhiều mẫu hơn, và màu sắc có vẻ 3D trong và sắc nét tươi tắn hơn ^^
Cách làm thủ thuật:
1. Chọn mẫu ô tìm kiếm mình yêu thích
2. Vào bảng điều khiển blogger -> Bố cục (Layout) -> Thêm tiện ích (Add a Widget) -> HTML/Javascript
3. Dán Code mẫu ô tìm kiếm đã lựa chọn vào tiện ích vừa thêm
MẪU KHUNG Ô TÌM KIẾM:
- Mẫu 1:
<style type="text/css">
#helperblogger-searchbox {
border-radius: 5px;
background: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSLlMO81Jt-H3izPDRUdl9eypX_J0e7XlO0JCXHSA_9gvbDYwtO_Fa89KxE6crgxAsVKSpeRcnQ3sk1znBZ8R2zHicDBCYkxynowSvymB_FmPMOUtMP8rD3u-prYd1D0ZnUwIalchZe2k/s1600/helperblogger.com-green.png) no-repeat scroll center center transparent;
width: 307px;
height: 50px;
disaply: block;
}
form#helperblogger-searchform {
display: block;
padding: 9px 16px;
margin: 0;
}
form#helperblogger-searchform #s {
padding-left: 24px !important;
padding: 7.5px;
margin: 0;
width: 198px;
font-size: 16px;
font-family: georgia;
font-style: italic;
color: #666666;
vertical-align: top;
border: none;
background: transparent;
}
form#helperblogger-searchform
#sbutton {
margin: 0;
padding: 0;
height: 40px;
width: 74px;
vertical-align: top;
border: none;
background: transparent;
}
</style>
<div id="helperblogger-searchbox">
<form id="helperblogger-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}'
onblur='if (this.value == "") {this.value = "Search...";}' />
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton"
/>
</form>
</div>
- Mẫu 2:
<style type="text/css">
#helperblogger-searchbox {
border-radius: 5px;
background: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFw380rMH6sFg6K4b0um8TJeS-1uivs7_0bRutqYi_4ieuaZeBeD9KWGcFGbNsUCCGgnQ79HSQdKuY7TpOGiXhgwTSsCung_LCNBWNFYyHWaKgbEDOeINrfzcA2bkYm3kyLUbY_dSKRhE/s1600/helperblogger.com-blue.png) no-repeat scroll center center transparent;
width: 307px;
height: 50px;
disaply: block;
}
form#helperblogger-searchform {
display: block;
padding: 9px 16px;
margin: 0;
}
form#helperblogger-searchform #s {
padding-left: 24px !important;
padding: 7.5px;
margin: 0;
width: 198px;
font-size: 16px;
font-family: georgia;
font-style: italic;
color: #666666;
vertical-align: top;
border: none;
background: transparent;
}
form#helperblogger-searchform
#sbutton {
margin: 0;
padding: 0;
height: 40px;
width: 74px;
vertical-align: top;
border: none;
background: transparent;
}
</style>
<div id="helperblogger-searchbox">
<form id="helperblogger-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}'
onblur='if (this.value == "") {this.value = "Search...";}' />
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton"
/>
</form>
</div>
- Mẫu 3:
<style type="text/css">
#helperblogger-searchbox {
border-radius: 5px;
background: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisR52xcUnAw925w52qUY6jw596gXqkpVOr1tUehbFdiOrRyua9w3I090kc-GgoO9gsNxK3dC8_Yo-F18lGmQqsI26LCsyoXb-hGrmbvTEV355jtgEVKQK7xK7vCpj-_kCWkEf8ERmH4Sw/s1600/helperblogger.com-orange.png) no-repeat scroll center center transparent;
width: 307px;
height: 50px;
disaply: block;
}
form#helperblogger-searchform {
display: block;
padding: 9px 16px;
margin: 0;
}
form#helperblogger-searchform #s {
padding-left: 24px !important;
padding: 7.5px;
margin: 0;
width: 198px;
font-size: 16px;
font-family: georgia;
font-style: italic;
color: #666666;
vertical-align: top;
border: none;
background: transparent;
}
form#helperblogger-searchform
#sbutton {
margin: 0;
padding: 0;
height: 40px;
width: 74px;
vertical-align: top;
border: none;
background: transparent;
}
</style>
<div id="helperblogger-searchbox">
<form id="helperblogger-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}'
onblur='if (this.value == "") {this.value = "Search...";}' />
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton"
/>
</form>
</div>
- Mẫu 4:
<style type="text/css">
#helperblogger-searchbox {
border-radius: 5px;
background: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrMpPlzqf2I3XBDA4EhjZz7CkKMHclxRCXCSIPuKXyaR0MZc-jQ_zA-cFnRgBMsU9mMcw2DsSS8vj5MohwOfDmr8Ox8E1Y5i1HV6j9plvnX4XxUaCg7xAQPsOB2SGLH7H71JCTaoepkM/s1600/helperblogger.com-purple.png) no-repeat scroll center center transparent;
width: 307px;
height: 50px;
disaply: block;
}
form#helperblogger-searchform {
display: block;
padding: 9px 16px;
margin: 0;
}
form#helperblogger-searchform #s {
padding-left: 24px !important;
padding: 7.5px;
margin: 0;
width: 198px;
font-size: 16px;
font-family: georgia;
font-style: italic;
color: #666666;
vertical-align: top;
border: none;
background: transparent;
}
form#helperblogger-searchform
#sbutton {
margin: 0;
padding: 0;
height: 40px;
width: 74px;
vertical-align: top;
border: none;
background: transparent;
}
</style>
<div id="helperblogger-searchbox">
<form id="helperblogger-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}'
onblur='if (this.value == "") {this.value = "Search...";}' />
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton"
/>
</form>
</div>
- Mẫu 5:
<style type="text/css">
#helperblogger-searchbox {
border-radius: 5px;
background: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHVlSZ2VrkcCQ8GzV5ndPYxGYL3ZN2-oSdI-OFCYX4ZXzNIRASAMQNVMN6ExjFJnS2vsTkSCSRozbRh0eQP-pz7aWvBSW8pW0ktPEhaeSnLYMqKg_ET4o7oS0q9bDcOpCWj1Z2GX0y9UA/s1600/helperblogger.com-red.png) no-repeat scroll center center transparent;
width: 307px;
height: 50px;
disaply: block;
}
form#helperblogger-searchform {
display: block;
padding: 9px 16px;
margin: 0;
}
form#helperblogger-searchform #s {
padding-left: 24px !important;
padding: 7.5px;
margin: 0;
width: 198px;
font-size: 16px;
font-family: georgia;
font-style: italic;
color: #666666;
vertical-align: top;
border: none;
background: transparent;
}
form#helperblogger-searchform
#sbutton {
margin: 0;
padding: 0;
height: 40px;
width: 74px;
vertical-align: top;
border: none;
background: transparent;
}
</style>
<div id="helperblogger-searchbox">
<form id="helperblogger-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}'
onblur='if (this.value == "") {this.value = "Search...";}' />
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton"
/>
</form>
</div>
Chúc các bạn thành công
!
Thêm Khung tìm kiếm đẹp cho blogger
Reviewed by Khôi Nguyễn
on
10:09
Rating:
Không có nhận xét nào: