• Hi,

    After upgrading to the latest WP version, the site description in the header re-positioned and it appears in two rows. See here https://noabaum.com/
    I need all the information back in one row as before.
    Can anyone help? my ability with code is very limited so it will be very helpful to have specific instructions.

    Regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @lshiponi,

    Can I assume you had your theme developed for you? You’re using a child theme to a free theme which has been specifically modified – I believe it’s one of these modifications that is causing the problem.

    If you go into Appearance -> Editor and then find the file header.php you need to look for the line…

    <span class="site-description">
    				Storyteller <span></span> Educator <span></span> Public Speaker			</span>

    From the looks of it those extra spaces after “Public Speaker” are possibly the cause. Replace the above line with…

    <span class="site-description">
    				Storyteller <span></span> Educator <span></span> Public Speaker</span>

    Is that any better?

    Thread Starter lshiponi

    (@lshiponi)

    Hi,

    Thanks for the reply. Yes, the template has been modified, more than once, by different people. And there is a child template running there.

    I found the <span class=”site-description”> line but what follows, isn’t what you’ve written but this:
    ` <span class=”site-description”>
    <?php

    $desc= str_replace(“|”, “<span></span>” , get_bloginfo(‘description’));
    echo $desc;
    ?>
    </span>
    In addition, the entire logo part that includes the site description, appears twice. Should it be that way?

    I’m not seeing the logo twice, I have to say.

    Ok, so, yes, the code wasn’t hard coded – it’s just taking your site description and replacing the vertical lines with some HTML. That, to me, suggests that the extra spaces are in your description then. If you go into Settings -> General and look at the tagline. I assume this reads “Storyteller | Educator | Public Speaker”? You need to remove any spaces from the end of this (which I believe there may be). Click “Save Changes” and see if this improves the situation.

    Thread Starter lshiponi

    (@lshiponi)

    Hi,thanks. Tried your suggestion, cleared the row and made sure there are no spaces at the end. Did a hard refresh. The line is still splitted.

    Any other possibility?

    Don’t worry, I’ve not given up ??

    But, it’s very odd – looking at the page source that extra spacing has not gone but, according to the code you pasted above, it should have gone. Do you have any caching in place? I’m wondering if we’re seeing an un-altered version of the site.

    Could you do me a favour and just change the tagline in some subtle way (just temporarily until I can check the result)? For example, don’t capitalise “Speaker”? I’d like to confirm whether it is displaying the changes or not.

    Also, can you confirm which SEO solution you’re using for your site?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Site description position changed after upgrade’ is closed to new replies.