How can we replace the logo image with Site Title

Hi gang,

I have a need to use the Blogs MU theme as the new blog template for a batch create job. Therefore, I really need to be able to change the image logo with the site title for each blog created. Otherwise, I am stuck making way too many logos.
Your help is much appreciated,
Tim

  • DavidM

    Hi Tim,

    That's actually relatively simple and assuming you're using a child theme, which you should be for editing purposes, you can change line 183 in the header.php file as follows:
    <a class="site-title" href="<?php echo home_url(); ?>"><?php echo bloginfo( 'name' ); ?></a>

    You'll want to copy the header.php file from the parent folder first, of course. And with that change, you'll be able to style that title as you like with something like this added to your child theme stylesheet:
    .site-title { font-size: 20px; }

    Hope that helps!

    -David

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.