WordPress.org

Ready to get started?Download WordPress

Forums

Using an image as the page title instead of text? (8 posts)

  1. VisibleMusic
    Member
    Posted 7 months ago #

    Hello, new to this, sorry if this is a daft question. I am reading documentation and trying things out, but finding this a lot to take in at present and I'm not sure where to look.

    The main thing I want to do is not have text as the title of my page, but my own image file instead (which consists of my logo). What is the best way to go about this? I have uploaded images to my media library, but not sure how to get them to replace the title.

    Any advice appreciated.

    Alex

  2. Matt Zak
    Member
    Posted 7 months ago #

    What is the theme you're using?

    More than likely you'll need to modify that theme to use either the featured image (if you want a different image for each page), or the image file you want to use.

  3. VisibleMusic
    Member
    Posted 7 months ago #

    OK I'm trying this with a few themes, haven't chosen one yet, just getting started. So to modify, I need to go to the Editor, change the code there to make the theme look how I want? Please excuse my dumb questions...

  4. VisibleMusic
    Member
    Posted 7 months ago #

    Also any advice on what bit of code to home in on to allow me to have my own image at the very top of the screen, above the page title... thanks

  5. VisibleMusic
    Member
    Posted 7 months ago #

    OK I'm getting closer, I've realised I can turn the Site Title text off in this theme. So all I need to do now is swap the position of the menu and header image so that the image is above the menu instead of vice versa - also the header image is currently too tall, so I need to make it shorter...

  6. CrouchingBruin
    Member
    Posted 7 months ago #

    So to modify, I need to go to the Editor, change the code there to make the theme look how I want?

    You should not modify theme files directly, because the next time the theme is upgraded (because of a security patch or feature enhancements, for example), your changes will be lost. Instead, you should create a child theme and make your changes there. That way, any changes to the parent theme won't override your own changes.

  7. VisibleMusic
    Member
    Posted 7 months ago #

    Understood - thanks - still battling with getting the header image to show above the menu though...

  8. CrouchingBruin
    Member
    Posted 7 months ago #

    Which theme are you using? Most themes already display the header image above the menu, and they allow you to customize the header image, usually through an option that you can access from the admin dashboard (usually through Appearance > Customize).

    If you're working with a theme that does not have the header image above the menu, the code for the header for most themes can be found in header.php (duh!). That file usually contains the contents of the header, including the menu (nav bar).

Reply

You must log in to post.

About this Topic

Tags

No tags yet.