New Landing How can we help? Cardinal Responsive Logo Issues

Viewing 15 posts - 1 through 15 (of 19 total)
  • Posted in: Cardinal
  • #142103
    bn86
    Member
    Post count: 44

    Hey,

    I’m finding some pretty serious logo issues here. I’ve entered 70 in the Logo Max Height field, yet the logo is stretching wider at each break point. The logo has the correct proportions at mobile width (tested on a Mac in Safari and Chrome)

    Also, at smaller break points in Chrome, the logo breaks out of the header entirely and shows up really big! :/

    Hope there’s a quick fix!

    #142109
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Try to fix that adding the code below to your custom css option.

    
    #mobile-logo img {
    height: 70px!important;
    }

    -Rui

    #142110
    bn86
    Member
    Post count: 44

    Thanks, that fixes the second issue on Chrome.

    But, the main problem is still there. At each break point, the logo is stretched wider and wider… i.e. at the mobile width, the logo is fine. But at tablet and desktop sizes the logo stretches considerably.

    Any ideas?

    #142116
    bn86
    Member
    Post count: 44

    I notice in firebug the following code:

    #logo img.retina {
    width: 184px;
    }

    Where did that width come from? If I disable that width property, the logo displays at the correct width. At a smaller browser width, the logo is 157.500px wide, and with the site at full width the logo displays at 184px wide. Neither of those widths are correct – they are both stretched.

    #142117
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779
    This reply has been marked as private.
    #142119
    bn86
    Member
    Post count: 44

    Ah sorry, I should have mentioned I’m on a retina display here. I think it is working fine on a standard display, but something is strange with the retina code…

    #142120
    bn86
    Member
    Post count: 44
    This reply has been marked as private.
    #142316
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Here’s your issue:

    Your standard logo is 184px x 100px, yet you’ve set the max height to 70px, when it should be 100px. The max height property is only for preventing the retina logo from showing bigger.

    If you change your max height to 100px is should work fine

    – Kyle

    #142319
    bn86
    Member
    Post count: 44

    Thanks Kyle,

    That fixed it. I had assumed that changing the max height would restrict the height, keeping the logo in proportion. I now realise I should make the logo the right height in the first place.

    Cheers

    #142321
    bn86
    Member
    Post count: 44
    This reply has been marked as private.
    #142324
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Done 🙂

    #150737
    ecollective
    Member
    Post count: 18

    I am having a similar issue on a retina display – the logo is stretched even though my max height is correct at 75. Any suggestions? http://ecollectivedesign.com/

    #150760
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try adding this to your custom css:

    .full-center #logo {
      max-width: 55%;
    }
    

    – Kyle

    #152208
    miguelsoler
    Member
    Post count: 76

    Estimated kyle
    in my case It’s the same, I tried your advices, but still not work for me, the logo is distorted on the tablet.
    Any suggestions?

    http://www.dubuloj.com

    #152214
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you a take a screenshot it doesn’t look distort to me. Clear the cache browser first.

    -Rui

Viewing 15 posts - 1 through 15 (of 19 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