New Landing How can we help? Themeforest Theme Support Dante Height of animated icon boxes not adjusted properly on iPads

Viewing 14 posts - 1 through 14 (of 14 total)
  • Posted in: Dante
  • #87838
    joerg
    Member
    Post count: 28

    Hi guys,

    there is a bug in conjunction with the height of animated icon boxes. The height is not adjusted properly on iPads, and also on a Mac when reducing the browser window width to a certain level. Please see the attached screenshots.

    Regards

    #88017
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Please could I see your link so that I can check the issue?

    – Kyle

    #88553
    joerg
    Member
    Post count: 28

    The site is not online yet, but you can reproduce the issue in the dante demo (locally or on ThemeForest).

    I attached another screenshot showing the issue in the demo.

    #88894
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    I will forward this to the developer to see if he can provide a fix

    – Kyle

    #89267
    joerg
    Member
    Post count: 28

    Great, thank you, Kyle.

    #89638
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @joerg,

    Can you try this custom css and let me know?

    @media only screen and (min-width: 768px) and (max-width: 959px) {
    .sf-icon-box-animated .back h3 {
    margin-top: 0;
    margin-bottom: 5px;
    }
    }

    – Ed

    #89751
    joerg
    Member
    Post count: 28

    Hi Ed, it got a little bit better, but there is still some text cut off – zwo lines of text in my case. See the new screenshots for illustration.

    #89830
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please change margin-bottom: 5px; to margin-bottom: -5px; so new updated code :

    @media only screen and (min-width: 768px) and (max-width: 959px) {
    .sf-icon-box-animated .back h3 {
    margin-top: 0;
    margin-bottom: -5px;
    }
    }

    Hope that should work and let me know your feedback.
    Thanks

    #89981
    joerg
    Member
    Post count: 28

    Nope, just repositioning the text doesn’t do the trick. The boxes need to be resized vertically. I added two more screenshots showing values of -5px and -50px.

    #89988
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @joerg,

    The issue is that the height of the asset is set based on the front of the icon box – so that they all keep the same height and in-line.

    Try this custom css to override the height for iPad portrait:

    @media only screen and (min-width: 768px) and (max-width: 959px) {
    .sf-icon-box-animated .front {
    height: 340px;
    padding: 100px 20px;
    }
    }

    You can alter the height/padding to suit your needs.

    – Ed

    #90110
    joerg
    Member
    Post count: 28

    Perfect, that’s what I needed. Thank you.

    #90120
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great! thanks Ed

    – Kyle

    #90134
    joerg
    Member
    Post count: 28

    Just a litte correction: max-width needs to be set to 991px:

    @media only screen and (min-width: 768px) and (max-width: 991px) {
    .sf-icon-box-animated .front {
    height: 360px;
    padding: 100px 20px;
    }
    }
    #90136
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok thanks

    – Kyle

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