[Resolved] using fixed header, wpadmin bar causing overide issue .

Home Forums Support [Resolved] using fixed header, wpadmin bar causing overide issue .

Home Forums Support using fixed header, wpadmin bar causing overide issue .

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #787722
    sg

    Hi, currently im using fixed header for my site.
    Wp-admin bar is a big headache , the bar position abs below fixed .

    is there any way to make the admin bar flip to close etc ?
    i know there is plugin but its not working well too.

    Thanks.

    #787960
    David
    Staff
    Customer Support

    Hi there,

    you could try something like this:

    #wpadminbar:not(:hover) {
        opacity: 0;
    }
    #787966
    sg

    hI David. thank you. that does solve the issue halfway but it seems login state cause the ‘ gp fixed header’ to change the form , any idea on that ? thanks

    #787982
    David
    Staff
    Customer Support

    Is this fixed header some custom CSS? As the sticky nav shouldn’t effect the admin bar.

    #787984
    sg

    Yes, i got the css from here too .
    i agree stick nav should affect the admin bar , but sadly it does.

    #787987
    David
    Staff
    Customer Support

    Can you share the CSS you used. We can look at offseting its position when the adminbar is present.

    #787988
    sg

    its on my live site. can you see it ?

    #787993
    sg

    i somehow know the issue now.

    .x-fixed-header {
    height: 9vw;
    top: -4vw;}

    cause im using vw value which is wrong ?

    #788004
    David
    Staff
    Customer Support

    The site is behind a coming soon page.

    #788005
    sg

    oh sorry , let me disable that now.

    pls enter ?bypass=gp at the end of the url to bypass the page. thanks.

    #788009
    sg

    you may give me your ip to bypass too. thanks

    #788015
    sg

    you may login as regular member user:support_gp password is the same for testing the changes.

    #788155
    David
    Staff
    Customer Support

    So you could add separate rules for your .rise-fixed-header CSS for when the admin bar is present. the CSS rule would look like this:

    .admin-bar .rise-fixed-header {
    /* add your different height and top properties here. */
    }

    You would want to make the top property a positive value to push it below the admin bar.

    #788610
    sg

    Thanks.

    #788753
    David
    Staff
    Customer Support

    Did you fix the issue?

Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.