WordPress.org

Ready to get started?Download WordPress

Forums

Clean Retina
[resolved] Center Logo (5 posts)

  1. akedv
    Member
    Posted 1 year ago #

    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

  2. Sanjiv
    Member
    Posted 1 year ago #

    Hi,

    Could you provide a link to your website?

    Regards,
    Team Horse

  3. akedv
    Member
    Posted 1 year ago #

    thx, but i've already found it:

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

  4. jckamler
    Member
    Posted 1 year ago #

    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!

  5. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.