XStore Chaning logo width – Options 'Logo Max Width' doesn't alter logo size

This topic has 7 replies, 2 voices, and was last updated 5 years, 10 months ago ago by Rose Tyler

  • Avatar: themadguru
    Robert
    Participant
    June 18, 2018 at 13:56

    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

    6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 18, 2018 at 14:33

    Hello,

    Please provide us with your site URL.

    Regards

    Avatar: themadguru
    Robert
    Participant
    June 18, 2018 at 16:38

    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

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 19, 2018 at 07:18

    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

    Avatar: themadguru
    Robert
    Participant
    June 20, 2018 at 15:50

    Hi Rose

    I will check on my side again and get back to you.

    Regards

    Avatar: themadguru
    Robert
    Participant
    June 20, 2018 at 16:21

    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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 21, 2018 at 06:28

    You’re welcome!
    Feel free to ask if you have any other questions.

    Regards

  • Viewing 7 results - 1 through 7 (of 7 total)

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

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.