- This topic has 5 replies, 2 voices, and was last updated 5 years, 10 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The topic ‘Header Image’ is closed to new replies.
Home › Community Forums › Aspire Theme Support › Header Image
Tagged: Header image
I am having trouble uploading an image for the header that is not fuzzy. I have used a png file that was created in illustrator as a vector file. It is 300 px wide as recommended. Please help with uploading specs. Thx.
The image size can be whatever size you need, we just have it set at the 300px/60px width/height by default (as a start).
To upload a logo, go to Appearance > Customize > Header Image and you can upload a logo from there.
It’s recommended to upload the exact size that is specified in the functions file so you don’t have to Crop your image in WordPress.
If you need to change the default Image Size, look in your functions.php file and change the code that looks like this –
//* Add support for custom header
add_theme_support( 'custom-header', array(
'flex-height' => true,
'width' => 300,
'height' => 60,
'header-selector' => '.site-title a',
'header-text' => false,
) );
If you can, first try and upload your Logo/Image on your Media Page at it’s original size, so I can take a look at it to see if it shows up blurry on my end (before we upload it to the Header area).
It looks like the height of the title-area is set at 76px;
so it’s stretching the image to be that height as well.
Naturally the image height is 55px, so I would decrease the font size to see how it looks at it’s original size.
You can still use the Font in place of the logo if you want to (you mentioned that in another thread).
I have bumped up the font size of the site title instead. Thanks!
You’re Welcome!