WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. whoscontent
    Member
    Posted 10 months ago #

    Hello,

    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
    Volunteer Moderator
    Posted 10 months 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:

    http://wordpress.org/support/theme/magazine-basic

  3. whoscontent
    Member
    Posted 10 months ago #

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

Reply

You must log in to post.

About this Topic