New Landing How can we help? Cardinal Logo is getting stretched vertically

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Cardinal
  • #233759
    WEswift
    Member
    Post count: 234

    Team – I’ve uploaded a logo to include and have correctly set its maximum height at 75. Why would the logo be stretched in the vertical dimension? Thanks in advance! -Paul

    #233868
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add this to your custom css:

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

    – Kyle

    #233989
    WEswift
    Member
    Post count: 234

    Thanks for the assist Kyle. Unfortunately the css didn’t seem to work. I hope a css approach is just a stop gap until a theme fix can be released. I think the theme should get this right. Please advise. -Paul

    #233993
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Please use this:

    .full-center #logo.has-img a > img {
        height: auto;
    }

    Thanks,
    David.

    #233996
    WEswift
    Member
    Post count: 234

    David – that worked, thanks. Any idea how this bonked? I haven’t had this issue with Cardinal before. -Paul

    #234000
    David Martin – Support
    Moderator
    Post count: 20834

    I believe the height is set using an absolute, ie height: 80px whereas height: auto; retains the aspect ratio by not forcing a dimension.

    Thanks,
    David.

    #234008
    WEswift
    Member
    Post count: 234

    David – I would have thought that the theme set css would be max-height: 7d5px; Since that is what is insinuated by the Logo Options > Logo Max Height. -Paul

    #234010
    David Martin – Support
    Moderator
    Post count: 20834

    Hey,

    Sure, I’ll pass this on Paul.

    Thanks.

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

You must be logged in to reply to this topic.