Site logo

[Resolved] Vertical non sliding header on the right side

Home Forums Support [Resolved] Vertical non sliding header on the right side

Home Forums Support Vertical non sliding header on the right side

Viewing 15 posts - 16 through 30 (of 36 total)
  • Author
    Posts
  • #714733
    David
    Staff
    Customer Support

    1. So, are you going to add a logo or just use the site branding?
    2. You can add them as Elementor Library widgets to the Header Widget 🙂

    #714791
    Harris

    1. I am going to use a logo
    2. Oh! Too many new (or kind of new) things in GP. I keep forgetting them!

    Thanks

    #714796
    David
    Staff
    Customer Support

    CSS for space below logo and / or space below site branding should work:

    /* space below logo */
    .site-logo {
        margin-bottom: 2em;
    }
    
    /*space below branding */
    .site-branding {
        margin-bottom: 2em;
    }
    #714810
    Harris

    Thanks! Can you please also give me the selector of the header widget so I can also adjust the margins there?

    #714818
    David
    Staff
    Customer Support

    This:

    .header-widget

    #714819
    Harris

    Thanks a million David!
    (I should have suggested the selector’s name) 🙂

    #714829
    David
    Staff
    Customer Support

    Glad to be of help 🙂

    #715183
    Harris

    One more question (hope last) 🙂
    Is it possible to “stick” the header widget at the bottom of the header no matter what the screen height? (in desktop mode only)

    #715310
    David
    Staff
    Customer Support

    You should be able to do this:

    .inside-header {
        height: 100%;
        box-sizing: border-box;
    }
    .header-widget {
        margin-top: auto;
    }
    #715390
    Harris

    Doesn’t seem to be working David

    #715395
    David
    Staff
    Customer Support

    Is it not working at all? I edited the code above to add a box-sizing property to stop the side header from expanding larger than the screen.

    #715514
    Harris

    No, not at all. You can check it live at the site

    Hm… Seem to be working now.
    Thanks

    #715596
    David
    Staff
    Customer Support

    maybe a cache issue. glad you got it working

    #715848
    Harris

    This side header gives a lot of trouble… 🙂
    There is a menu option that breaks in 3 lines (3 words, each word fits in a line).

    Is there some way to control the gap between those lines without affevting the gap between the other menu elements?

    (the “problematic” menu choice is the second one if you waht to have a look at it)

    Thanks

    #715853
    David
    Staff
    Customer Support

    In the Dashboard > Appearance > Menus > Screen Options, Check CSS Classes. Then you can give that menu item a custom class e.g reduced-menu-height

    then something like this:

    .reduced-menu-height a {
        line-height: 1.3em;
    }
Viewing 15 posts - 16 through 30 (of 36 total)
  • You must be logged in to reply to this topic.