1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 position fixed won't work in chrome

Discussion in 'Styling and Customization Questions' started by tafreehm, Jan 8, 2014.

  1. tafreehm

    tafreehm Well-Known Member

    Hello,
    In new theme I have changed made two significant change. One I have added following css properties to HTML:
    Code:
    background-attachment: fixed;
    z-index: -9;
    and following to #moderatorBar
    Code:
    #moderatorBar{
        height: 28px;
        line-height: 22px;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        z-index: 99;
        -moz-box-shadow: 0px 3px 5px #4d4b4d;
        -webkit-box-shadow: 0px 3px 5px #4d4b4d;
        box-shadow: 0px 3px 5px #4d4b4d;
    }
    Now, there are two issues on Chrome. One moderator bar does not float on top as it should. Second, membercard always jump to top of the page and you have to scroll up all the way to see it.

    Can someone tell me what could did I miss.
     

Share This Page