what size background image works best? I have tried over 100 images and gifs, and they all get stretched, and blurry. usually 1/2 the image isn’t even viewable
You’re going to want something fairly large in dimension and in a landscape orientation (but watch out for file size too, you don’t want to force everyone to download a huge image).
For example, I accidentally took this photo of my couch. The dimensions are 1920 x 1440 and it fits my screen as a background image (text is unreadable over it, but that’s a separate issue).
Note that the image is set to background-size: cover; by default — so this means that the image will be scaled-up to fill the entire browser window without repeating the image (and likely cropped somewhat unless my window is in the same 4:3 ratio as the image). Small images will be sized up proportionately until they fit the entire window. You can change this behavior using CSS for the category, for example:
body.category-example {
background-size: 25%:
}
Now your background image is much smaller, and tiled to fill the screen.
You’ll want to work with background-size, background-repeat, and background-position in your site’s CSS to find out which properties will work for your specific image.
Can we add this tip to the UI for the feature, somewhere?
All of your CSS is controlled under admin > customize > themes, by “CSS for the category” I meant that you can target a specific category because we add CSS classes to the page when relevant.
So in the case of a category named “Other” we add the .category-other class to the page’s body tag, so you can use something like this in your general customizations to target that specific category.
body.category-other {
// your CSS for the category here
}
カテゴリの背景画像の推奨サイズ(幅など)はどれくらいですか?
また、カテゴリ画像の推奨サイズについても知りたいです。
どちらも目指す効果によって大きく異なります。
背景画像については、ファイルサイズを適切に保ちながら可能な限り広いものが良いでしょう(例えば150KB以下程度?https://tinypng.com/ などのサービスでファイルサイズを削減できます)。幅は1440px〜1920px程度が適しているでしょう。
カテゴリのロゴや画像については、私は個人的に150px程度の正方形をお勧めしますが、レイアウトをカスタマイズしている場合は、サイズや縦横比に関わらず、何でも問題なく機能します。
このサイトにはいくつか制限があるため、私は時々 https://pngquant.org/ を使っています。これは実行ファイルがあり、同じ制限なく同じ作業をこなせます。同じ圧縮方式を使っていると思います。

