Cách tạo Menu icon trong WordPress | VN-Zoom | Cộng đồng Chia Sẻ Kiến Thức Công Nghệ và Phần Mềm Máy Tính

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We need money to operate the site, and almost all of it comes from our online advertising.

If possible, please support us by clicking on the advertisements.

Please add vn-z.vn to your ad blocking whitelist or disable your adblocking software.

×

Cách tạo Menu icon trong WordPress

rs_lyly2009

Moderator
Thành viên BQT
Screenshot3.png


Chi tiết trong video


Tóm tắt
Bước 1. Khai báo FontAwesome
Khai báo địa chỉ FontAwesome vào trước </head> trong header.php (Giao diện > Sửa > nhìn bên phải sẽ thấy file này)
Bạn cũng có thể tải FontAwesome và tải lên host, rồi khai báo đường dẫn tới FontAwesome thôi

Link FontAwesome: <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

Bước 2. Tạo Menu

Bước 3. Khai báo icon cho Menu
Cú pháp dạng <i class="fa fa-home"></i> Tên menu

Với fa fa-home là tên của icon
bạn có thể xem danh sách icon và cú pháp tại: https://fontawesome.com/v4.7.0/icons/
 


Top