• I want to put a custom font into my header. the font i want to use is in this image does anyone know how i can change the font used on the header page title (millinersboutique.com) to the custom font. any help/advice is much appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you use a custom font in a web site, chances are that most viewers will not have the font installed on their pc, so their browser will substitute a default font. That can totally destroy your layout.

    It is best to stick with standard fonts for text and use images for anything requiring custom fonts.

    Here is a link that shows the common fonts.

    Thread Starter willow6

    (@willow6)

    Oh right – I understand what you mean about the font not showing up for others. Is it possible that I could make my heading/ font into a transparent Jpeg that could be overlayed onto my chosen header then or is that not possible?

    Yes, that is what I do. But it usually requires a change to header.php in the theme unless the theme provides a customizable header logo image.

    Thread Starter willow6

    (@willow6)

    could you tell me what part of the header.php file i must edit in order to put a jpeg image containing the title of my page into the header.

    At the minute my page displays the site title that I have saved in my general settings, so i guess i muct delete this info out of the header.php file…. but i’m not sure where to stick in the image..

    A lot depends on your theme – different themes can use different coding.

    In one of the ones I used, I replaced the call to bloginfo(‘name’) in this line:

    <tr><td class="logo-name"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></td></tr>

    with the image in this one:

    <tr><td class="logo-name"><a href="<?php echo get_option('home'); ?>/"><img src="http://localhost/opticians/wp-content/themes/WP-Medical/images/logo-name.png" title="Opticians Home" height="70px" width="550px" /></a></td></tr>
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Header Font’ is closed to new replies.