Logo Too Small

Home Support Blog Way Logo Too Small

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #17941
    Anonymous
    Inactive

    I’m having trouble with adding my logo. No matter what I do, it stays very small. I’m fairly new to designing my website but was really hoping there might be some additional CSS code I can add to fix this? For now, I have it only showing the site name and tagline. If you need me to turn on the logo so you can see, please let me know. Any help would be much appreciated! Thank you!

    My site is: https://electricmommy.com/

    #17955
    nirav
    Keymaster

    Hello There!

    Hope you are doing good!

    It is not possible without modifying PHP code as it will allow you to skip cropping of the logo.

    Hope this helps!

    Have a nice weekend ahead!

    Regards.

    #17959
    Anonymous
    Inactive

    Hi, thank you for the response but this doesn’t help much. Can I ask what the image size should be for the logo? If I upload the right image size, couldn’t I skip cropping altogether?

    I had a logo there before and I did not need to edit the PHP code. I deleted the logo on accident and that’s how I got into this problem again. If there’s no recommended size that will work on it’s own, can you at least let me know what the existing code is and what it needs changed to?

    Thanks

    #17960
    Anonymous
    Inactive

    Sorry, I see the code in the previous comment. I will try that and see if it works but I’m still curious if there’s a preferred image size for the logo for this theme? Like I mentioned before, I was able to upload a logo previously without editing the PHP file so I’m just trying to recreate what I did the first time.

    #17961
    Anonymous
    Inactive

    Ok, I replaced the code in the PHP file and the logo is still too small.

    I replaced the following code:

    add_theme_support(‘custom-logo’, array(
    ‘height’ => 70,
    ‘width’ => 220,
    ));

    with this:

    add_theme_support( ‘custom-logo’, array(
    ‘height’ => 70,
    ‘width’ => 220,
    ‘flex-height’ => true,
    ‘flex-width’ => true,
    ) );

    Any suggestions what to do next?

    #17962
    Anonymous
    Inactive

    I figured it out! There was existing code in my additional CSS section from the previous logo. When I deleted that code and added the one you provided to the PHP file, it worked. Thank you!

    #18030
    nirav
    Keymaster

    Hello There!

    Hope you are doing good!

    We are glad that the issue got resolved.

    Have a great day ahead!

    Regards,
    Team ProDesigns

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.