[Resolved] Placing the logo and site name in the header

Home Forums Support [Resolved] Placing the logo and site name in the header

Home Forums Support Placing the logo and site name in the header

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #849034
    Nadezhda

    Hello! I can not find the documentation, how to put in the header of the logo on the left, and the name and description of the site on the right. Square logo, 70 * 70, there is a place.

    GeneratePress 2.2.2
    GP Premium 1.7.8
    #849053
    David
    Staff
    Customer Support

    Hi there,

    add this CSS to align the logo left of the Site Title:

    .site-logo {
        float: left !important;
    }
    #849056
    Nadezhda

    David, thank you very much! I’ll go try.

    #849190
    Nadezhda

    Unfortunately it did not help. Now the title and description are located on the left above the logo. Increasing the indent for the title did not give a result. Anyway, it is above the logo. Or I incorrectly set these indents.

    #849197
    David
    Staff
    Customer Support

    Try this instead:

    .inside-header {
        display: flex;
        align-items: center;
    }
    .site-logo {
        order: -1;
        margin-right: 1em;
    }
    #849290
    Nadezhda

    David, it worked out! Thank you very much!

    #849298
    David
    Staff
    Customer Support
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.