Support » Themes and Templates » [Resolved] Center logo in header

[Resolved] Center logo in header

Viewing 13 replies - 1 through 13 (of 13 total)
  • Try:

    .site-title a,
    .site-title a img { float: none; }

    Alexander, forgive my ignorance, but do you mean that we should place that code in the Custom CSS section of “Styling?” Thanks!

    Hi Alexander,

    Thanks for the quick reply! @jwn4157, I changed it in de style.css document. And that worked.

    Moderator Andrew Nevins


    Forum moderator

    You do add it to the Custom CSS section and not the style.css file.

    THANKS, fitnessbodyblog! I found the style.css file in /wp-content/themes/hueman. Is it in that file where I make the edit? (sorry, bit of a newcomer to this).
    Also, when I locate “.site-title” the code looks like (and I assume this is where I would change “float: left” to “float: none”?):
    .site-title { font-size: 42px; font-weight: 600; letter-spacing: -0.5px; float: left; line-height: 60px; padding: 10px 0; }

    .site-title a { display: block; color: #fff; float: left; max-width: 100%; white-space: nowrap; }

    .site-title a img { float: left; display: block; max-width: 100%; max-height: 60px; height: auto; padding: 0; margin: 0 auto; -webkit-border-radius: 0; border-radius: 0; }

    .site-description { font-size: 16px; font-style: italic; color: #fff; color: rgba(255,255,255,0.5); float: left; margin-left: 20px; line-height: 60px; padding: 10px 0; }


    Thank you, Andrew, I gave that a try and it worked like a charm! 🙂

    Under what section did you find this code? Thank you!

    Please disregard my question.

    thanks nice theme ,i used it on my site all new tricks , helpful to center the logo.

    Hello, where do I find the Custom CSS section? I just downloaded Hueman a couple of days ago (It looks awesome) but can’t find where to add this code on my dashboard. Thanks!


    you need to download ‘Hueman’ in the author of the theme, there are options.
    on WordPress.org some options are not allowed, you have a flanged version.


    it works, the logo move to center, but the site description stayed in the original place, how to move it to center to match the logo?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Resolved] Center logo in header’ is closed to new replies.