Upload a large logo

I need to upload my logo in a large scale and then use css to set the width and height to the 210, 49.  It is the only way the logo will display as crisp as my client wants it.  I was able to do this in the footer since I could write custom html to point to a big logo.  But I am unable to do this in the header since the image is auto resized when I upload it.  How can I set the header logo to the larger version of my logo?

Thank you!


  • Hi mmcfadden

    If you want to the bigger logo then we have to customize the code. For this Download, code snippet plugin install and activate https://wordpress.org/plugins/code-snippets/ . And kindly paste the below code in code snippet plugin like the screenshot http://prntscr.com/jr01gz

    function spicepress_customlogo() {
           add_theme_support( 'custom-logo', array(
                'width'       => 500,
                'height'      => 100,
           ) );
    add_action( 'after_setup_theme', 'spicepress_customlogo', 11 );

    You can change the logo height and width as your need.

    After this kindly again upload the logo.

    Let me know did it work.

  • Thank you that did the trick.  But I noticed my WP already had "snippets" installed and when I looked there was actually already the function you have listed above.  All I had to do was change the width and height and save it.  I did not create that function, so it must have been installed with the theme.  Just thought I would mention that in case someone else has the same issue.

    Thank you!
  • Hi mmcfadden

    Glad to know its work for you!

    If you like our theme and support kindly give us your kind review.

    Let me know for further assistance.

This discussion has been closed.