How can I make Graphene's header widget fixed so it does not move when I scroll up or down?

  • Anonymous

    #38317

    Hy.

    Is there a reason why you can’t put it in some other action hook? If so than I don’t know how to make it fixed, sorry.

    If not:

    Attach content to graphene_container_before action hook. Than give it position:absolute.

    Anonymous

    #38318

    Thank you for your response. Why wouldent it work as the action hook I have it in now?

    And if I do what you say what would the code be ?

    Would I just have something like this and delete the other stuff I listed on the first page of the thread?

    background*/
    #graphene_container_before action hook {
    position: absolute;
    top: 10px;
    right: 10px;
    }

    Anonymous

    #38319

    why would it not work as the widget it is in now?

    Anonymous

    #38320
    Quote:
    why would it not work as the widget it is in now?

    Because it’s inside of #container division, if you put it in graphene_container_before action hook widget it will be outside of #container division.

    The best way to style it, is to use ID of widget itself like this:

    #text-2 {
    position:absolute;
    top:10px;
    right:10px;
    }

    Anonymous

    #38321

    I did take your advice, I actually started a new thread about it because it did not work out just using the id for some reason

    Link to thread of same question with your advice

    Thank you for your help

Viewing 5 posts - 11 through 15 (of 15 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.