[resolved] How to center header in Magazine Basic (3 posts)

  1. whoscontent
    Posted 2 years ago #


    My site is http://www.whoscontent.com

    I am new to CSS and would like to center my logo in the header. I know to go to Edit Themes and select header.php but not sure what to change. Right now, the logo is justifying left.

    Thank you for your help with this topic!

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    No, you should not modify any theme files - as those changes will be lost when the theme is updated. Also, CSS is in a .css file - not a .php file. If the theme has a custom CSS option, you can make CSS changes there, or it not, looks like you have JetPack, so you can use the custom CSS under Appearances > Edit CSS.

    Try adding this CSS there:

    #header-img {
        margin: 0 auto;

    Also, if you have other questions about this theme, please post them on the theme's own forum here:


  3. whoscontent
    Posted 2 years ago #

    Thank you for the guidance and redirection to the Magazine forum. Your fix worked immediately!

Topic Closed

This topic has been closed to new replies.

About this Topic