• Hi,
    I’ve been modifying a theme I downloaded for my blog. I have a really cool font for the header title but from what I understand css uses local fonts, so when I load the page on another computer the font will no show up. So I turned the title into an image, but I don’t know what code to change to turn the header text into an image instead. Thanks
    Mr Tumnas

Viewing 5 replies - 1 through 5 (of 5 total)
  • Just upload the header image in theme theme’s images folder (usually, they have one), use the image as the background of your header in the stylesheet; and hide (using “display: none”) the title and tagline.

    If the site in question is the one linked to in your profile open header.php search for:

    <div class="logo"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></div>

    Replace with:

    <div class="logo"><a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/logo.gif" /></a></div>

    The above assumes you uploaded your logo to wp-content/themes/themename/images/logo.gif

    Great info, i have a different theme and it worked with a little tweaking. However I now have a box around the logo not sure why or how, is there a way to make that go away? url to the blog i’m building is https://mygrillandsmoker.com/frontpage

    onguys

    (@onguys)

    Thank You, This section was very helpful. At first I thought about just using a background image like I do in the frontpage version of my website; but then I thought through it a bit better. Background images do not translate easily in SEO efforts. However the Title and Tagline are both text items which do.

    Pretty much my original background image was a word art rendering, with a pretty colored background. Taking that into account, the background image when used as a background image only is an excellent tool.

    Thank You all for helping me think through this, so that I can use the tools more effectively. I really love how the Blog Title is a hyperlink to the blog’s main page, that’s a very useful tool.

    Right now I’m reading through WordPress for Dummies and PHP/MySQL for Dummies to help me understand the WordPress Blog program better. I’m practicing in a database I literally called practice until I get comfortable enough with the how to’s to start converting my outdated website from MS Frontpage to the WordPress format which is a Godsend for functionality.

    Thank You Everyone, www.remarpro.com is a Godsend Technical Community.
    I would have never known to consider it if a friend of mine working at UALR https://www.ualr.edu had not told me www.remarpro.com is the basis for their website architecture. I’ve also noticed that many of the most advanced sites online now are based in php and mysql; such as https://www.facebook.com .

    Uploading the modified image I wish to use for Header background to the theme folder, subfolder img, then saving the modified image as header.gif allowed me to update desired modified image over the one that came with the theme I downloaded. Thank You all for this forum update, I doubt that I would have figured this out on my own, at least not without futzing something up along the way. You saved me a ton of time and heart ache!

    Thank You!

    i would also like to change my blog title to be an image. i was wondering if someone could help me out. my blog is. https://www.itsmysoul.com/blog and the image i want to use is… https://itsmysoul.com/images/imslonglogo.gif.
    thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing Blog Title to Image’ is closed to new replies.