Joy
(@joyously)
If the theme supports header images, it adds some code to indicate to WordPress what size and other options for the header image option. Otherwise, core WordPress uses its defaults. That theme says it does custom header, so whatever is happening is because of the theme.
I suggest you ask the theme developer what is supposed to be happening.
https://wordpress.org/support/theme/publishable-mag
Moderator
t-p
(@t-p)
Try adding background-size: 100% in this CSS rule:
#site-header {
background-image: url(‘https://www.medicalpracticegeek.com/wp-content/uploads/2018/09/Untitled_Panorama1-copy.jpg’);
background-size: 100%;
}
Don’t edit the theme files directly, otherwise your changes will be overwritten whenever the theme is updated.
A custom CSS editor (usually titled Additional CSS) is included in the Customizer as of WordPress 4.7 specifically for this purpose.
As an alternative, especially if you intend to modify more than just CSS, create a child theme.
Thank you both. @joyously thank you – I posted the question to that forum. @t-p thank you – I know zero about code, a custom CSS editor, etc. but I did see at the bottom of the customize appearance tab there was something called “additional CSS” as you mentioned. I copied and pasted:
#site-header {
background-image: url(‘https://www.medicalpracticegeek.com/wp-content/uploads/2018/09/Untitled_Panorama1-copy.jpg’);
background-size: 100%;
}
into the lines at the bottom and the picture disappeared/went black. Not sure if I am supposed to enter all of this in its entirely or just add the “background-size: 100%” somewhere. Again, zero background here or coding knowledge. I’m sure this looks like such a childish issue, but I thank you for your help. Any other thoughts would be appreciated, but I’ll look into the child theme you mentioned (though that looks daunting as well).
MPG
Joy
(@joyously)
I would remove the CSS code that t-p gave you, since the theme should do it for you. That code specifies the image, so if you tried to change it in Customizer, you would have more trouble.
Part of specifying the image is cropping it if desired, so you should make adjustments there, or wait for the theme guys to help you out.
@joyously I definitely deleted it. I tried multiple different ways of posting the image, including cropping it with their tool prior to publishing. Thing was, their crop tool exactly outlined my image because I had already cut it to their recommended specs. I’ll see what the theme people say. Thanks again.
MPG