Support » Theme: Chiron » Change size of header logo

  • Resolved linguine999

    (@linguine999)


    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • linguine999

    (@linguine999)

    Resolved.

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

    frochele

    (@frochele)

    Thanks linguine999 it helped me to do the same efficiently.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change size of header logo’ is closed to new replies.