Centre logo and change size

  • This topic has 1 reply, 2 voices, and was last updated 7 years ago by J. Davis.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #301315
    Ant
    Guest

    Hi,

    I’m in the process of creating a child theme based on Emmet Lite (great theme, btw) and I want to centre the logo, and make it a little bigger.

    I’ve found that I can resize the logo with
    .header-logo img {
    max-width:750px
    }

    … but I can’t seem to work out how to centre the logo – any help would be appreciated.

    Thanks!

    #302077
    J. Davis
    Keymaster

    Hi Ant,

    You can try to add padding-left property or the style below:

    .site-header .site-logo {
        float: none;
        text-align: center;
    }

    Best regards,
    John

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.