最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Why are my button images blurry on mobile screens?

matteradmin10PV0评论

I have a few custom buttons I've inserted with php throughout my wordpress site. They are crisp resolution images (either gif or png), but when viewing it on my iphone screen, they're blurry. I noticed the other plugins I have installed that insert the same type of .png images buttons look very sharp when viewed on a mobile screen, or any screen for that matter.

What am I missing? Can't figure out why a png inserted button from a wordpress plugin looks crisp on all screens, but my png buttons only look good on desktop screens.

I have a few custom buttons I've inserted with php throughout my wordpress site. They are crisp resolution images (either gif or png), but when viewing it on my iphone screen, they're blurry. I noticed the other plugins I have installed that insert the same type of .png images buttons look very sharp when viewed on a mobile screen, or any screen for that matter.

What am I missing? Can't figure out why a png inserted button from a wordpress plugin looks crisp on all screens, but my png buttons only look good on desktop screens.

Share Improve this question asked Dec 2, 2018 at 22:11 wooq123wooq123 211 gold badge1 silver badge2 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Because Apple devices have something called retina screen. Where pixel density is double then "normal" screen. You will have to add image that is double the size. You can do this manually or use some plugins like wp retina.

Post a comment

comment list (0)

  1. No comments so far