Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #212479
    #212486

    Hey!

    Regarding the first question please see Kriesi response here: https://kriesi.at/support/topic/kriesi-logo/#post-161892.

    For the second one, this code will work (add it to the Quick CSS):

    #header_main .container, .main_menu ul:first-child > li > a {
    height: 120px  !important;
    line-height: 120px  !important;
    }
    
    html.fixed_header #main {
    padding-top: 120px;
    }

    Best regards,
    Josue

    #212743

    Hi,

    Thanks for the reply, I understand and respect the secrecy about certain elements of your code and you wanting to maintain a certain uniqueness !

    In relation to adjusting the height of the header menu. I’ve played around with the code, but can’t figure out to get it to do what I intend to.
    I can see how it alters the height (positioning) of the grey line border, the menu text and the height of the header, but when I scroll down, everything – except the logo – is static and the logo shrinks to the predefined size.

    Originally the height of the (fullsize) header is approx. 90px, when it shrinks (the page is scrolled down) it resizes to approx. 45 px, with the logo decreasing in size.
    What I’m trying to acheive is have the (fullsize) header appox 110px high and resize to approx. 65 px. I don’t see how your code snippet can accomplish that…

    What am I missing out on ?

    Thanks

    #212922

    Hey!

    Please refer to this post here https://kriesi.at/support/topic/change-logo-image-for-scrolled-header/#post-188003
    200 will be initial size and will be /2 when scrolled, so 100.
    You will see

    if(st < el_height/2)
                    {
                        newH = el_height - st;
                        header.removeClass('header-scrolled');
                    }
                    else
                    {
                        newH = el_height/2;

    in the same section, you can change /2 to /1.5 if you would like to divide initial size less than half

    Regards,
    Yigit

    #213271

    Thanks Yigit, it worked like a charm !

    #213283

    Hi!

    You are welcome, glad we could help! Let us know if you have any other questions or issues

    Regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Logo and Main header menu’ is closed to new replies.