• Thay thế nút Home :
[You must be registered and logged in to see this link.]
- Trích dẫn :
- .backhome .cta-ss {background:transparent
url(Link_ảnh_1) no-repeat center !important;height:Apx;} .backhome .cta-ss strong{background:transparent !important;} .backhome .cta-ss em, .backhome .cta-ss strong{font-size:0;}.backhome .cta-ss:hover {background:transparent url(Link_ảnh_2) no-repeat center !important;height:Bpx;}
|
• Thay nút Thêm bạn :
[You must be registered and logged in to see this link.]
- Trích dẫn :
.addfrdbtn .cta-ss {background:transparent url(Link_ảnh_1) no-repeat center!important;height:Apx;} .addfrdbtn .cta-ss strong{background:transparent !important;} .addfrdbtn .cta-ss strong{font-size:0;}
.addfrdbtn .cta-ss:hover {background:transparent url(Link_ảnh_2) no-repeat center!important;height:Bpx;}
|
• Thay nút Blog yêu thích
[You must be registered and logged in to see this link.]
- Trích dẫn :
- .subscribebtn .cta-ss {background:transparent
url(Link_ảnh_1) no-repeat center!important;height:Apx;} .subscribebtn .cta-ss strong{background:transparent !important;} .subscribebtn .cta-ss strong{font-size:0;}
.subscribebtn .cta-ss:hover {background:transparent url(Link_ảnh_2) no-repeat center!important;height:Bpx;}
|
Ảnh minh họa:
• Trước khi dùng code :
• Sau khi dùng code :
Tùy chỉnh các thông số trên :
Link_ảnh_1 : Ảnh hiển thị khi bình thường ở trang chủ.
Link_ảnh_2 : Ảnh khi rê chuột vào.
Apx : Chiều cao của Link ảnh 1.
Bpx : Chiều cao Link ảnh 2.
Chúc các bạn thành công
Bài viết sưu tầm Lee's Blog