Image aur logo sambhandit sawal


( Rushikesh) #1

Friends and @Jdk me to itna specialist hu nahi. Par maine photashop ki madat se ek logo banaya. Fir uski maine uska css script image bhi bana liya. Aur use apne server par upload kar diya.

Abhi baari thi css code add karne ki, To jaise hi maine wordpress >> customize par click kiya aur vahapar css code add karne ki koshish ki. To sirf editor me image dikh rahi thi. Baaki blog ko visit karne par logo nahi dikh raha tha. Maine cache bhi cleare kiya aur do-teen baar theme ke display blog title ko bhi do - teen bar hide aur show karke dekha. Lekin koi bhi effect nahi ho raha tha.

Maine neeche ka code css me add kiya tha.

.main-title {
    width: 272px; height: 90px;
    background: url('https://jankaribook.com/wp-content/uploads/2018/11/jankaribook.com-logo.png) -10px -10px;
}

Ise kaise karu?
2. Second sawal maine aajtak suna tha ki, jpg ki size png se kam hoti hai. Parantu aaj maine photoshop me same resoulution ki 2 images banaye lekin ek file ko .png me save kiya aur dusare ko .jpg dono ki size khud check kariye.

  1. Jpg = 123 kb
  2. .png = 7.83 kb

(Nadeem Khan) #2

Rushikesh ji, Jab aapne Photoshop se png format select kiya hoga to usme ek option ata gai Compression ka aapne compression smallest/slow select kiya hoga. Isliye aapka file size kam hai.


(Jumedeen khan) #3

Ye css code use karo.

.site-logo a {
    display: inline-block;
    width: 272px;
    height: 90px;
    background: url(https://jankaribook.com/wp-content/uploads/2018/11/jankaribook.com-logo.png)no-repeat;
}

( Rushikesh) #4

Ji bilkul bhai to konsa image use karna chahiye?


( Rushikesh) #5

Bro code kaam nahi kar raha hai.


(Nadeem Khan) #6

jpg kariye jiska weight kam ho


( Rushikesh) #7

Thik hai bro me aisa hi karunga.