New Landing How can we help? Cardinal Transparent header transition

Viewing 11 posts - 1 through 11 (of 11 total)
  • Posted in: Cardinal
  • #152203
    lorraine
    Member
    Post count: 51

    Hi,

    Is there any way of making the transition of the header/nav from transparent smoother than it is?

    Lorraine

    #152218
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Not sure about this one. Will forward to the development to see if it’s possible.
    Thanks

    -Rui

    #152272
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Lorraine,

    Try adding this custom css:

    .sticky-header {
        transition: height 0.5s ease-in-out, transform 0.5s ease-in-out, background-color 0.5s ease-in-out!important;
        -moz-transition: height 0.5s ease-in-out, transform 0.5s ease-in-out, background-color 0.5s ease-in-out!important;
        -webkit-transition: height 0.5s ease-in-out, transform 0.5s ease-in-out, background-color 0.5s ease-in-out!important;
        -o-transition: height 0.5s ease-in-out, transform 0.5s ease-in-out, background-color 0.5s ease-in-out!important;
    }

    Let us know if that sorts it for you.

    – Ed

    #152274
    lorraine
    Member
    Post count: 51

    Works a charm ๐Ÿ™‚

    I’d definitely recommend adding this to your next update.

    While I’m here – why is there already code in the custom CSS box?? Has that come from using the demo importer and installing a theme?

    #152276
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    It’s already added ๐Ÿ™‚

    It could have been from the import – what code is it?

    – Ed

    #152277
    lorraine
    Member
    Post count: 51

    Cool ๐Ÿ™‚

    This is the first chunk:

    /* Extra space around header on home */
    .home .header-wrap {
        padding-top: 30px;
    }
    .home .full-center #header.fw-header > .container {
        padding: 0 50px;
    }
    
    /* Reduce intro blank spacer when viewport height reduced */
    @media screen and (max-height: 700px) {
        #intro .blank_spacer {
            height: 250px!important;
        }
    }
    
    /* Hero continue hover */
    #hero-continue > div:hover {
        background: #fff;
    }
    #hero-continue > div:hover > i {
        color: #1a1a1a!important;
    }
    
    /* Video icon on demo video */
    #video .fw-video-link-icon {
        background: #fff;
        color: #222;
    }
    #video .fw-video-link-icon:hover {
        background: #000;
        color: #fff;
    }
    
    /* Center the portfolio filter */
    #152279
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Ahh – that’s the features demo custom css, we kept that with the import so that it would be an exact match. You can remove it if you’d prefer.

    – Ed

    #152280
    lorraine
    Member
    Post count: 51

    Ahhhh…that 30px padding drove me potty – couldn’t for the life of me work out where it had come from!

    Thank you ๐Ÿ™‚

    #152293
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Have your issue been resolved?
    Thanks
    Mohammad

    #152875
    lorraine
    Member
    Post count: 51

    Yes, all sorted! ๐Ÿ™‚

    #152906
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am glad that your issue resolved.
    Thanks
    Mohammad

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