New Landing How can we help? Themeforest Theme Support Dante Logo Squashed in Mobile

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #37601
    Bobby B.
    Member
    Post count: 22

    When my logo resizes for a mobile view, it gets squashed horizontally. See screenshot. Any ideas?

    #37890
    Tahir – SUPPORT
    Member
    Post count: 1212

    Hi,
    You probably have to set the height to auto and set a width in the mobile media query. If you can provide the page link i might be able to give you some custom css.

    Thanks
    Tahir

    #38162
    Bobby B.
    Member
    Post count: 22

    Here is just one example of the problem, though it is on every page of the site. View it in a mobile sized browser: http://minutemenministries.org/jimvangelderen/contact/

    #38503
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Bobby,

    Thanks for letting us know about that, I’ve added in some css to fix this in future updates. For now, you can add this custom css:

    @media only screen and (max-width: 479px) {
    	#logo img, #logo img.retina {
    		height: auto!important;
    	}
    }

    Hope that helps.

    – Ed

    #38568
    Bobby B.
    Member
    Post count: 22

    That certainly helped. However, the header height now looks too large–lots of empty space. Any way to get that to shrink, too?

    #38882
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Change the above to this:

    @media only screen and (max-width: 767px) {
    #logo a {
    max-width: 75%
    }    
    #logo img, #logo img.retina {
            max-width: 100%;
            height: auto;
        }
    #header-section > div {
    height: 100px;
    }
    }
    
    @media only screen and (max-width: 479px) {
    #header-section > div {
    height: 80px;
    }
    }
    

    Hope that helps!

    – Ed

    #38929
    Bobby B.
    Member
    Post count: 22

    Hmmm…doesn’t seem to fix the empty space, though it did help with the mobile menu button placement. Also, when I get to mobile sizes, the “Personal Shopper” link appears. I didn’t think I had that enabled. See screenshots for examples.

    #39229
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    You can disable the mobile personal shopper in Theme Options > Super Search Options.

    Sorry, try this code:

    @media only screen and (max-width: 767px) {
    #logo a {
    max-width: 75%
    }    
    #logo img, #logo img.retina {
            max-width: 100%;
            height: auto;
        }
    #header-section > div {
    height: 100px!important;
    }
    }
    
    @media only screen and (max-width: 479px) {
    #header-section > div {
    height: 80px!important;
    }
    }
    

    – Ed

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register