• Resolved akedv

    (@ak71)


    Hi,

    how can i center the Logo in a clean way, so it stays centered when displayed on small screens?

    margin-left/right: auto soesn’t seem to work here

    greetings
    alexander

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Could you provide a link to your website?

    Regards,
    Team Horse

    Thread Starter akedv

    (@ak71)

    thx, but i’ve already found it:

    }
    .hgroup-wrap a {
    text-align: center;
    }
    .hgroup-wrap img {
    margin-left: auto;
    margin-right: auto;
    }

    i’m trying to do this as well, but neither of the above solutions work. here’s whats there now:

    header{

    padding: 20px 20px 20px 20px;
    position: relative;
    overflow: auto;
    height: auto;
    background: #ffffff;

    }
    header a.logo{
    float: none;
    text-align: center;
    }
    header p.tagline{
    float: left;
    margin: 40px 0 0 20px;
    }

    any help would be appreciated!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @jckamler, you can discuss that in your own thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Center Logo’ is closed to new replies.