This topic has 7 replies, 2 voices, and was last updated 5 years, 10 months ago ago by Rose Tyler
Hi
I am trying to reduce the size of my logo in the header. The logo’s actual size is 420x120px. When I try and change the width in theme settings, nothing appears to reduce the size.
Theme Options > General > Header Settings > Logo Max Width
When I try different widths using the above settings, the logo remains the same original size.
To see whats going on, in Chrome, I change the Max Logo Size to 250px, I then right-click over the logo and click ‘inspect’ to see the console. This shows me this setting:
.header-logo img {
max-width: 250px;
}
However, the logo remains, and I see this code being output for the logo:
<img src="https://mydomain.com/wp-content/uploads/2018/06/logo.png" alt="" width="420" height="120" class="logo-default">
It seems the max-logo has no effect when trying to reduce the size of the logo. How do I go about doing this in the theme options (if at all possible)? I can guess how to use css to achieve it, but most themes make it easy to alter the logo dimensions from within theme settings, to be honest.
regards
Hello,
Please provide us with your site URL.
Regards
I have posted the URL and .htaccess password login to view the site in private messages. I created a temporary password protected site with demo install just for this support ticket as the actual site is still being developed offline.
Regards
Hello,
Thanks for the reply.
In our theme, “Logo max width” option resize the image to the dimension you selected but the real images size is not changing https://prnt.sc/jwkyow In case, you want to changes Natural size use image editor or Media library > Edit image > https://prnt.sc/jwkz8e
Regards
Hi Rose
I will check on my side again and get back to you.
Regards
OK, I am on a different PC now and it appears that the size has now changed. I am not sure if this was a cache issue or not, but I did refresh the browser cache before and saw no change in logo size. Not sure why it has changed to the expected size now on a different PC, but it now appears to work as expected.
Thanks for your help!
Kind regards
You’re welcome!
Feel free to ask if you have any other questions.
Regards
The issue related to '‘XStore Chaning logo width – Options 'Logo Max Width' doesn't alter logo size’' has been successfully resolved, and the topic is now closed for further responses