New Landing How can we help? Themeforest Theme Support Dante Logo Squished on iPhone

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #230361
    cehdcomm
    Member
    Post count: 5

    On iPhone 6, the header logo does not maintain the appropriate proportions. See screenshot attached.

    Attachments:
    You must be logged in to view attached files.
    #230748
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    That is very odd, I can replicate that on my iPhone, not on an emulator though.

    Can you add a WP login for me to assist you quicker?

    Thanks,
    David.

    #230776
    cehdcomm
    Member
    Post count: 5

    I was able to fix it by adding the following:

    @media only screen and (max-width: 479px) {
            // fix logo warping on iphone
    	#logo img, #logo img.retina {
    		max-width: 200px;
    		height: auto !important;
    		min-height: inherit !important;  // <---this was the issue.  by default it is min-height:none!important;
    	}
            // remove excess space in header when logo is smaller
    	.header-container > .row, .header-5 header .container > .row, .header-6 header > .container > .row {
        		height: auto !important;
    	}
    }
    #230778
    David Martin – Support
    Moderator
    Post count: 20834

    Glad you got it sorted.

    Thanks,
    David

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

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

License required for one of the following items
Login and Registration Log in · Register