Yuav Ua Li Cas Ntxiv Qhov Icon Rau Lub Xaib

Cov txheej txheem:

Yuav Ua Li Cas Ntxiv Qhov Icon Rau Lub Xaib
Yuav Ua Li Cas Ntxiv Qhov Icon Rau Lub Xaib

Video: Yuav Ua Li Cas Ntxiv Qhov Icon Rau Lub Xaib

Video: Yuav Ua Li Cas Ntxiv Qhov Icon Rau Lub Xaib
Video: qhov ncauj qhia tau neeg Tus YAM NTXWV thiab TXOJ HMOO 2024, Hlis ntuj nqeg
Anonim

Thaum koj qhib qee lub vev xaib nyob ib sab ntawm lawv cov npe sau hauv qhov chaw nyob bar, koj tuaj yeem pom daim duab me me - lub cim. Daim duab tib yam yuav raug tso tawm ntawm lub tab nrog nplooj qhib ntawm tus xaib nyob rau sab laug sab sauv. Lub cim yog hom logo rau koj lub xaib, daim paib txawv, yog li kev paub txog kev teeb tsa cov cim zoo li no yuav tsis muaj qhov tshwj xeeb rau tus webmaster.

Yuav ua li cas ntxiv qhov icon rau lub xaib
Yuav ua li cas ntxiv qhov icon rau lub xaib

Cov Lus Qhia

Kauj ruam 1

Ua ntej, nco ntsoov tias daim ntawv icon yuav tsum muaj.ico txuas ntxiv thiab lub npe favicon, uas yog, favicon.ico. Hauv qhov no, daim duab loj yuav tsum yog 16x16 pixels. Koj tuaj yeem sim kos duab lub cim hauv Photoshop. Tau kawg, koj yuav ua tiav kev kos duab. Tab sis kom txuag tau daim duab nyob rau hauv hom.ico, koj xav tau ib tus plugin tshwj xeeb. Muab nws tso rau hauv Plug-Ins / File Formats folder nyob ntawm c: / Program Files / Adobe / Photoshop CS.

Kauj ruam 2

Tom qab ntawd, tom qab koj tau kos lub cim thiab khaws cia rau hauv hom ntawv xav tau, muab tso rau hauv lub hauv paus ntawm lub xaib. Yog lawm, nws tsis yog txhua qhov tsim nyog los muab cov duab tso rau ntawd. Tab sis, ces koj yuav tsum qhia kom meej txoj hauv kev rau nws:

Kauj ruam 3

Nws tseem raug tso cai kom siv duab nrog txuas ntxiv, xws li

Cov ntawv sau nkag duab /.png

Kauj ruam 4

Yog tias koj lub vev xaib raug tsim ntawm lub cav (piv txwv, ntawm Wordpress), tom qab ntawd txhua yam yog yooj yim dua: dua, ua ntej tshaj luam cov ntawv nrog lub cim mus rau lub blog cag (public_html nplaub tshev). Tom qab ntawd qhib koj cov ntawv header.php thiab nruab nrab ntawm cov ntawv cim thiab ntxiv cov code hauv qab no:

  • Kauj ruam 5

    Tseem muaj kev pabcuam tshwjxeeb rau kev tsim cov cim. Ib qho ntawm cov no yog peev txheej hu ua favicon.cc, qhov txuas txuas uas tau muab hauv seem Cov Cai Ntxiv. Txhua yam koj yuav tsum ua yog xaiv yam xim uas xav tau thiab kos duab yam xav tau. Tsuas yog khaws koj cov kev tsim thiab koj lub cim tau npaj txhij. Tab sis koj tuaj yeem tuaj yeem hloov cov duab tiav ua tiav rau.ico hom ntawv. Cov kev pabcuam favicon.ru yuav pab nrog qhov no, qhov txuas txuas uas kuj tau nthuav tawm hauv "Cov Khoom Ntxiv Ntxiv". Xaiv cov duab xav tau, nyem rau ntawm "Tsim favicon.ico" khawm, tom qab ntawv rub tawm cov duab tshwm sim.

Pom zoo: