Tình hình là từ 14 giờ ngày hôm nay, tức là 27-4-2010, Plus có đưa thêm
công cụ tìm kiếm blog trên "nóc nhà" ( dưới menu chính của blog)
[You must be registered and logged in to see this link.]
1/ Để đổi màu nền ngang-rộng của phần này ta dùng code css sau:
Quote:
#blogsearch .hd i { background:none repeat scroll 0 0 #000000;}
|
kết quả như sau:
[You must be registered and logged in to see this link.]
với 000000 là mã màu bạn chọn, ví dụ
trên là mã màu đen.
2/ Muốn làm ẩn đi màu nền này thì dùng code css sau:
Quote:
#blogsearch .hd i {height:0px;} |
kết quả:
[You must be registered and logged in to see this link.]
3/ Ẩn đi nút tìm kiếm và khung nhập từ khóa:
code css:
Quote:
#blogsearch span.btn .ygmasrchbtn { display:none;} .ygmasrchquery { display:none;} |
kết quả:
[You must be registered and logged in to see this link.]
(bào gồm ẩn nền ở mục 2)
4/ Font và màu chữ của nút tìm kiếm:
Code CSS:
Quote:
.ygmasrchbtn {font-family:Times New Roman; font-size:0.76em; color:#FFFF00; font-weight:bold; } |
Với Times New Roman là loại font bạn thích
FFFF00 là mã màu cho chữ, bold là kiểu chữ đậm.
5/ Code để dẹp ngay(toàn bộ: ô nhập từ khóa, nút tìm kiếm, dãy màu nền
ngang dài) phần tìm kiếm đó:
Quote:
#blogsearch{display:none;} |
kết quả:
[You must be registered and logged in to see this link.]