Hi @trtoles!
A CSS based solution similar to what @poonam9 suggested should work – as long as the image you’ve uploaded is larger than 125px in height.
I’d skip the use of !important
though, since it shouldn’t be necessary:
.site-logo {
max-height: none;
}
That removes the CSS max-height, so the image can be displayed at anything up the the theme’s max logo height of 300px.
Try to avoid using !important in CSS whenever possible – it’s usually not needed (like here) and it can make it more difficult to troubleshoot your CSS down the road, since !important acts as an override. Generally it’s best to write more specific CSS if you need to, rather than rely on !important to force the code to work.
If a 300px tall logo still isn’t big enough, you’ll need to change the theme’s logo handling.
To do so, start by setting up a child theme.
In your child theme’s functions.php
file, paste the following:
function custom_logo_size() {
remove_image_size( 'apostrophe-logo' ); // Remove the theme's setting
add_image_size( 'apostrophe-logo', 9999, 300 ); // Add our own! This will resize based on height!
}
add_action( 'after_setup_theme', 'custom_logo_size', 12 );
That removes the theme’s registered sizing for the logo and replaces it with your own. The 9999 is the width (so basically unlimited width) and the 300 is the height. Adjust that second number as needed ??
With the image declaration changed, and the CSS altered, you should have full control over the size of the logo.
If you change the logo size using that second snippet, you’ll want to re-upload your logo. The resizing happens when you first upload the file, and changing the code won’t impact existing image files.