WordPress.org

Ready to get started?Download WordPress

Forums

Chiron
[resolved] Change size of header logo (3 posts)

  1. linguine999
    Member
    Posted 1 year ago #

    Can anyone tell me how to change the size of the header logo from 280px to 960px.

    I have created a child theme, changed the CSS to:

    #headimg #logo-image {
    width: 960px;
    overflow: hidden;
    }

    #headimg #logo-image img {
    max-width: 960px;
    height: auto;
    width: 100%;
    border: none;
    }

    I removed the search box from displaying in header.php. The theme option to upload a header crops and reduces the image size automatically to 280px so with the CSS set to 960px my header logo displays as a very stretched (it has used the image it cropped to 280px during the upload header process and stretched it to 960px)

    Thanks very much

  2. linguine999
    Member
    Posted 1 year ago #

    Resolved.

    I had to change the settings in lib/functions/custom-header.php to match the CSS settings.

  3. frochele
    Member
    Posted 1 year ago #

    Thanks linguine999 it helped me to do the same efficiently.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic