Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1429679

    Can you tell me how to, say, move the extra elements from left to right, in the header?
    I tried, but doesn’t seem to do anything.
    Site is: https://calvarybaptistdunnellon.com
    What I’d like to move is the Wise Men still seek him block in the header.

    How might this be possible with css?

    #1429766

    Another question about the same element.
    In order to make the extra elements bar taller, I have used the suggestion from https://kriesi.at/support/topic/extra-elements-section-taller/

    I tried css of
    #header_meta .container {
    padding: 15px 0!important;;
    }

    Works fine…but it seems to move stuff BELOW the extra elements bar over each other.

    Look on the Prayer List page which has a Title. Its url is: https://calvarybaptistdunnellon.com/prayer-list

    The title will get covered up when you type in the css above which makes the extra element bar taller.

    I have left the css OUT of my actual website, so you can see how it works — or doesn’t.

    Can you give me an idea of what I need to do to make the extra elements bar taller and NOT cover the elements below.

    #1429771

    Hi CharlieTh,

    The extra element seems to be moved from left to right already.

    As for making the top bar taller, using the CSS code:

    #header_meta .container {
        padding: 15px 0;
    }

    is fine, but you’ll need to add this code as well:

    .html_header_top.html_header_sticky #top #wrap_all #main {
        padding-top: 120px;
    }

    The original value was 90px but since you added top and bottom padding of 15px which is 30px overall, then you’ll have to set the value to 120px (90px + 30px).
    Hope this helps.

    Best regards,
    Nikko

    #1429818

    Yes! Your additonal padding did the trick! It prevented the header from coming down over the page title when correcting height of extra elements bar. Terrific!

    However (and don’t you just hate that word), while trying to solve that problem, I messed up the animation and can’t get it to work for me.
    I am not sure if I am messing up the METHOD or the SELECTOR. Below are the two methods I’m trying. I have removed them from my css so you can point me to the proper solution:

    Please look at page: https://calvarybaptistdunnellon.com

    Honestly, don’t care if from right or left, just would like to see animation working.

    Thanks for checking this out…and appreciate the extra elements height solution.

    Method #1
    #top div.phone-info{
    visibility: visible;
    animation: caption-left 2s s cubic-bezier(0.985,0.005,0.265,1)!important;
    }

    Method #2
    //https://kriesi.at/support/search/?bbp_search=animate+left+to+right

    @keyframes slide-in-left {
    from {
    transform: translateX(-100%);
    }
    to {
    transform: translateX(0%);
    }
    }
    @keyframes slide-in-right {
    from {
    transform: translateX(100%);
    }

    to {
    transform: translateX(0%);
    }
    }

    //#top div.phone-info {
    //.phone-info{
    #top div.phone-info div {
    animation: slide-in-right 1000ms!important;
    //animation: slide-in-left!important;
    }

    #1429819

    Again, what I’d like to move is the Wise Men still seek him block in the header.

    How might this be possible with css?

    #1429826

    Hi,
    Thanks for the link to your site and your css, here are two examples that work in my test:
    slide-in-left, I changed the time to 2 seconds so you can see the animation, feel free to adjust to suit.

    @keyframes slide-in-left {
    from {
    transform: translateX(-100%);
    }
    to {
    transform: translateX(0%);
    }
    }
    #top .phone-info div {
    animation: slide-in-left 2s;
    }
    

    slide-in-right:

    @keyframes slide-in-right {
    from {
    transform: translateX(100%);
    }
    
    to {
    transform: translateX(0%);
    }
    }
    #top .phone-info div {
    animation: slide-in-right 2s;
    }

    Best regards,
    Mike

    #1429834

    Perfectionate! If there’s not such a word, there should be!

    Thanks so much…it works and also is taller…both hopes fulfilled!

    Also, your suggestion about 2s vs 1000ms seemed to show me better what was happening. Good idea.

    Thank you very much. Now I shall know how to do that in future and not bother you!

    #1429878

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Animate Extra Elements in header’ is closed to new replies.