Trying to fixed top bar area - by dottsco

8 replies3 participantsUpdated by Rose Tyler

  • Avatar: dottsco
    dottsco
    Participant

    Hi! I´m trying show top bar area fixed when you scrolling on the page. is it posibble with the css classes (fixed-header fixed-enabled) that you have on the theme? I need to know which is the file on xstore/headers, ihave tried on menu-top.php but doesn´t work.

    Thanks!

    8 Answers

    Avatar: maxmullins
    Max Mullins
    Participant

    Hello @dottsco

    You may simply add following lines of code in theme-options->styling->cutom.css:

    .top-bar {
         position:fixed;
         width:100%;
    }
    .fixed-header {
         margin-top:2.5rem;
    }

    Regards,
    Max Mullins

    Avatar: dottsco
    dottsco
    Participant

    THANKS!!! 🙂

    But now i have another problem, i don´t know if it´s a bug of your theme, but the cart when is displaying on top bar is not working. I can´t open the cart when is there but if it´s working on the header… ¿is it your problem? Thanks!!

    Avatar: dottsco
    dottsco
    Participant

    Hi again! I just realized that the problem comes for the top bar fixed. When is fixed with the css code, any links on the top-bar working! It is possible resolve this?

    Thanks!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Could you provide me temporary admin panel access to check?

    Regards

    Avatar: dottsco
    dottsco
    Participant

    Yes, sure! Sorry for the delay! Now the css code that you provided me is commented in style.css child theme. Just we commented waiting to resolve the issue. Thanks.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Please change previous code to:

    .top-bar {
         position:fixed;
         width:100%;
         z-index: 3;
    }
    .fixed-header {
         margin-top:2.5rem;
    }

    Regards

    Avatar: dottsco
    dottsco
    Participant

    Thanks!!! 🙂

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    You’re welcome!

    Regards

You must be logged in to reply to this topic.Log in/Sign up