• Resolved lrdownham

    (@lrdownham)


    Our website (https://www.viewfinder.org.uk) is built in WordPress, with a lot of PODs.

    I need to update the logo in the header.

    I have access to the dashboard but quite basic understanding of the coding. As far as I understand it, the web programmer adapted the themes she used to build the website.

    I tried just deleting the existing logo image from the Media Library yesterday and replacing with a new one with the same filename and title, but it hasn’t made a difference.

    Might there just be a page that I need to update? There’s not a homepage as such in the pages or posts database.

    The themes that show in the Appearance < Editor menu are: Catalyst, Catalyst/catalyst-141-fail, Catalyst/catalyst, Classic, Default, Dynamik (which is the one with a tick by it), Twenty Eleven and Twenty Ten. I’ve searched the code for reference to the image title but found nothing.

    Might there be a image (if there is such a thing!) stored as an FTP upload that the site is referencing outside the WordPress image library? I hope not, I don’t think I’d be able to retrieve anything outside WordPress..

    The elements that I found in the coding that might be relevant are:
    define( ‘HEADER_IMAGE’, ‘%s/images/headers/path.jpg’

    and: url(images/logo.png)

    and: #header-left

    Does anyone know how to go about replacing the header image? I hope someone will be able to make sense of this!

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You should be able to name a file ‘logo’ with the extension of ‘.png’, then upload that (not through Admin panel) to the images/ directory and finally replace the existing image.
    The images/ directory will be within wp-content/themes/yourThemeName/

    ?

    Thread Starter lrdownham

    (@lrdownham)

    Thank you so much Andrew – can you believe I’d spent four hours trying to work that out! I’d forgotten there were different levels of logins, and that I was using the Admin panel. That worked perfectly.
    Really, thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can anyone advise me on changing a header image using custom coding in WordPress’ is closed to new replies.