WordPress.org

Support

Support » Themes and Templates » how to change default logo position left to center

how to change default logo position left to center

  • venki58
    Member

    @venki58

    hai
    i am new in wordpress ,i am working responsive theme change default logo position left to center(i had already created child theme)

Viewing 1 replies (of 1 total)
  • Ivana S
    Member

    @ivana-s

    This is how you can do it:
    set the width of the div “logo” equal to the width of your logo image and make the left and right margin “auto”

    #logo {
        margin: 0 auto;
        width: 300px; <--- this is the width of the image with your logo
    }
Viewing 1 replies (of 1 total)
  • The topic ‘how to change default logo position left to center’ is closed to new replies.