Skip to content
One Designs One Designs One Designs

Navigation Menu

  • Themes
  • Documentation
  • Plugins
  • Blog
  • Support
  • About
My Account
  • Log In

  • Register
  • Lost Password
Support Forums
  1. Home
  2. Support Forums
  3. Theme Support
  4. Minimatica
  5. How to replace the site name by a logo?

How to replace the site name by a logo?

Viewing 10 posts - 1 through 10 (of 10 total)
  • February 26, 2014 at 9:45 am February 26, 2014 #17613
    jeroenla
    Participant

    Right now, the top left shows the title of the site. My friend wants this to show his logo. How can I replace this please?

    Thanks for taking the time to answer.

    February 26, 2014 at 11:08 am February 26, 2014 #17615
    Kiwiaufzeit
    Participant

    Easiest way: get into the header.php and replace the line before the end of the header with a picutre.
    Meaning you would take out the whole part <<?php ech…$heading_tag; ?>> and replace it with something like that:
    ***code taken out and posted below***
    Put the corresponding logo into the folder shown above and change the style to your liking.

    I’m sure there are “nicer” options out there as this one is quite “rude” but it should work and doesn’t require too much work.

    • This reply was modified 11 years, 3 months ago by Kiwiaufzeit. Reason: code screwed up the post
    February 26, 2014 at 11:09 am February 26, 2014 #17616
    Kiwiaufzeit
    Participant

    Yeah, nvm. Forgot that code in a comment screws with the whole thing here:

    <*img src=”/wp-content/themes/minimatica-child/logo.png” /*>

    Take out the *

    February 26, 2014 at 2:15 pm February 26, 2014 #17620
    jeroenla
    Participant

    Awesome! I was on the right track πŸ™‚

    So..

    <header id=”header” role=”banner”>
    <?php $heading_tag = ( is_home() || is_front_page() ) ? ‘h1’ : ‘div’; ?>
    <<?php echo $heading_tag; ?> id=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></<?php echo $heading_tag; ?>>

    Would become

    <header id=”header” role=”banner”>
    <?php $heading_tag = ( is_home() || is_front_page() ) ? ‘h1’ : ‘div’; ?>
    <*img src=”/wp-content/themes/minimatica-child/logo.png” /*>

    ? (Without the stars)

    February 26, 2014 at 2:21 pm February 26, 2014 #17621
    jeroenla
    Participant

    Well…that didn’t work. Not only did the logo not show up (and I used the proper URL to where I had it uploaded), but it also moved something I had put into the footer to the top of the page *confused*

    February 26, 2014 at 2:43 pm February 26, 2014 #17624
    Kiwiaufzeit
    Participant

    Well, for me it works I have to say… http://www.fenweb.de/

    • This reply was modified 11 years, 3 months ago by Kiwiaufzeit.
    February 26, 2014 at 2:48 pm February 26, 2014 #17626
    Kiwiaufzeit
    Participant

    Would you mind giving out the link to the blog so I can see it for myself?

    (I just took a random image so far and I haven’t put any style on it yet so it looks kind of crappy)

    • This reply was modified 11 years, 3 months ago by Kiwiaufzeit.
    February 26, 2014 at 2:56 pm February 26, 2014 #17628
    Kiwiaufzeit
    Participant

    Okay, then let’s do it differently… Replace <*?php bloginfo( ‘name’ ); ?*> with the image link <*img src=”/wp-content/themes/minimatica-child/logo.png” /*>. The line should end up looking like this:

    ***see below***

    That way the logo is automatically positioned correctly and as long as the image source is correct there shouldn’t be any problems.

    postscript: okay, I HATE the whole code in comment thing. Just use this link:
    http://textuploader.com/1ul9
    I uploaded the whole header.php-file and you can simply copy/paste.

    • This reply was modified 11 years, 3 months ago by Kiwiaufzeit.
    • This reply was modified 11 years, 3 months ago by Kiwiaufzeit.
    March 3, 2014 at 11:02 am March 3, 2014 #17692
    jeroenla
    Participant

    Kiwi’s are awesome πŸ™‚
    Yes! That bit worked πŸ™‚

    Thanks a lot πŸ™‚

    Looking great on http://www.sjapoo-maarheeze.nl

    March 4, 2014 at 9:55 pm March 4, 2014 #17719
    Kiwiaufzeit
    Participant

    Anytime, welcome.

    Yeah, that does look pretty good πŸ˜‰ Hope everything works out then! Good luck for your friend with the new website

Viewing 10 posts - 1 through 10 (of 10 total)

Tagged: logo, title

You must be logged in to reply to this topic.

Useful Information

About Us

We craft beautiful free WordPress themes with advanced functionality. Our themes are licenced under GPL and completely free, which means you can use them in any way you like, whether it’s powering up your website, giving your blog a new look, using it for some other project or modifying and redistributing them.

Never miss another release!

Subscribe to our newsletter and we'll keep you updated with new theme releases and recommendations.

Our Social Media Profiles

  • Facebook

    Like our Facebook page
  • Twitter

    Follow us on Twitter
  • WordPress.org

    Visit our WordPress.org Profile

Useful Links

  • Development Blog
  • Release Cycle
  • Site News
  • Support Policy
  • Contact Us
Copyright © 2009 - 2025 One Designs Created with passion, caffeine, WordPress and Enlightenment Framework