Support » Themes and Templates » Using an image as the page title instead of text?

  • 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

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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.

    Thread Starter VisibleMusic

    (@visiblemusic)

    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…

    Thread Starter VisibleMusic

    (@visiblemusic)

    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

    Thread Starter VisibleMusic

    (@visiblemusic)

    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…

    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.

    Thread Starter VisibleMusic

    (@visiblemusic)

    Understood – thanks – still battling with getting the header image to show above the menu though…

    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).

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Using an image as the page title instead of text?’ is closed to new replies.