0

I am having trouble locating the location of my theme's header.jpg so that I can upload and replace it with a new jpeg.

The theme that is being used for my site is the "Flat-Theme" version 1.0 By the ShapeBootstrap team. When I go to "Pages" and edit my "Homepage" the header image is not present, it is also not in my site's "Media Library". Under "Page Attributes" my Homepage uses the "Frontpage" template. When I go to the appearance editor, specifically go to edit the "Flat Theme: Frontpage Page Template (page-frontpage.php)" I see that the theme references the header.jpg image in the coding for the header. If I am on my homepage, if I right click and "View Background Image" the URL shows up as:

http://mywebsite.com/wp-content/themes/flat-theme/img/header.jpg

I have been unable to locate how to change the header.jpg image for the URL above. Can someone please point me in the right direction!?

0

If your theme supports header images, it should be under Appearance > Header. No need to replace the old file, you can simply upload a new one. If this is not the case, you can change the reference to header-new.jpg in the editor, and upload your new header to the same folder via your ftp client. You could also replace the header.jpg file but then you would lose the default one.

The recommended solution would be to create a child theme, but that's slightly more complicated.

  • Unfortunately it does not seem to support them as I have tried that solution. I assume by uploading the header to mywebsite.com/wp-content/themes/flat-theme/img/header.jpg it was a work around to that deficiency of the theme. So the only way for me would be to change that header.jpg image – user6605771 Oct 10 '16 at 22:00
  • You could change the reference to header-new.jpg in the editor, and simply upload your new file there, without having to replace the old image. – Pim Oct 10 '16 at 22:01
  • Sorry for the novice question, but how would I upload the header-new.jpg in the editor? – user6605771 Oct 10 '16 at 22:02
  • In other words, how do I upload something to the mywebsite.com/wp-content/themes/flat-theme/img... – user6605771 Oct 10 '16 at 22:03
  • You cannot upload it via the editor. You need to change the filename in the editor, and then upload it to your ftp account inside /wp-content/themes/flat-theme/img/ – Pim Oct 10 '16 at 22:04
-1

yea you need ftp access.

Fetch > FileZilla (both are free tho. Well, Fetch asks for registration after trial period)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.