• Hi there,

    Can anyone help me with some css to make the site title appear in the header rather than the site logo? I would like the logo to appear in the footer only.

    Many thanks,

    Tess

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @tessadesign, I hope you are doing great.

    To show the Site title instead of the logo in your header, you need to remove the logo from the Customizer:

    1) Log into your WordPress dashboard
    2) Navigate trough Appearance > Customize > Site title
    3) Remove the logo by clicking the Remove button.

    The end result should look like this:

    View post on imgur.com

    I hope this helps, have a nice day,
    Andrija

    Thread Starter tessadesign

    (@tessadesign)

    Hi Andrija,

    Thanks very much for your response. The problem with this is that I would like the logo to still appear in the footer. Is there any way to remove the logo from the header but have it still appear in the footer?

    Thank you,

    Tess

    Hey @tessadesign,

    Thank you for the update, I’m sorry to hear this solution did not work out as you expected.

    Removing the logo in your header and replacing it with the site title would require the creation of a child theme and you would need to copy the header.php file from the main theme to your child theme’s folder.

    Line 52 of the header.php file would then need to be changed:

    From: <?php Go\display_site_branding(); ?>

    To: <?php echo get_bloginfo('name'); ?>

    This will keep the site title in place of the logo in your header and will not affect the logo in the footer.

    Make sure to create a backup should you choose to tackle this yourself just to be safe. I’m sorry there is no easy solution available.

    Have a nice day,
    Andrija

    Thread Starter tessadesign

    (@tessadesign)

    Hi Andrija,

    This worked – thanks so much. Finally, is there some code that I can add to change size and colour of the site title?

    Many thanks,

    Tess

    Hey @tessadesign, I’m glad to hear this worked out.

    Sure, you can use this code:

    
    .header__title-nav.flex.items-center.flex-nowrap {
        color: darkgreen;
        font-size: 25px;
    }
    

    Feel free to adjust the color and the font-size values as you wish ??

    Have a nice day,
    Andrija

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Replace Logo with Site Title’ is closed to new replies.