Sticky/floating profile? - Page 2 Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
2 posters

    Sticky/floating profile?

    Yuee12
    Yuee12
    New Member


    Posts : 18
    Reputation : 1
    Language : English, Spanish, French

    Solved Sticky/floating profile?

    Post by Yuee12 December 31st 2021, 9:59 am

    First topic message reminder :

    Technical Details


    Forum version : #phpBB3
    Position : Founder
    Concerned browser(s) : Google Chrome
    Who the problem concerns : All members
    Forum link : ( link is hidden, you must reply to see )

    Description of problem

    Hello,

    This is my first message in the forum, so I'm not even sure if I'm posting this in the right section or the right way. Please forgive me for any misleads on my part.

    Basically, I'm facing a problem with CC that I don't know anything about.
    All I want to do is make profiles sticky (make them float/follow me when I scroll down the posts), but I don't seem to make it work anyhow.
    I tried some solutions about the function "sticky" I found on the Internet, but I didn't manage to make it work out.
    My forum is private (I don't open it to the public because I use it with a few friends for role-playing).

    Thanks for reading!


    Last edited by Yuee12 on December 31st 2021, 2:34 pm; edited 1 time in total
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Sticky/floating profile?

    Post by skouliki December 31st 2021, 1:52 pm

    add !important

    Code:

    .postprofile {
        padding: 0px;
        position: sticky !important;
        top: 43px;
        margin-top: 55px;
    }

    Yuee12
    Yuee12
    New Member


    Posts : 18
    Reputation : 1
    Language : English, Spanish, French

    Solved Re: Sticky/floating profile?

    Post by Yuee12 December 31st 2021, 1:53 pm

    skouliki wrote:add !important

    Code:

    .postprofile {
        padding: 0px;
        position: sticky !important;
        top: 43px;
        margin-top: 55px;
    }

    Done, but still nothing.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Sticky/floating profile?

    Post by skouliki December 31st 2021, 1:58 pm

    ok so

    in my test forum i have your template and CSS on and the code is working fine
    and without those additions, the code worked ok at first place
    but in your forum is not working even when you turned your js off

    well i don't know !! we have done all the steps
    i will keep looking into it during the day

    do you have a javascript for the post profile with this element pie-prof ?
    if yes disable it


    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Sticky/floating profile?

    Post by skouliki December 31st 2021, 2:20 pm

    found it !!! @Yuee12

    delete my code and read it

    Code:

    #content-container div#main {
            overflow: unset; }

    .postprofile {
        padding: 0px;
        position: sticky !important;
        top: 0;
        margin-top: 55px;
    }

    the error was the overflow that was hidden on your content element

    TonnyKamper likes this post

    Yuee12
    Yuee12
    New Member


    Posts : 18
    Reputation : 1
    Language : English, Spanish, French

    Solved Re: Sticky/floating profile?

    Post by Yuee12 December 31st 2021, 2:23 pm

    skouliki wrote:found it !!! @Yuee12

    delete my code and read it

    Code:

    #content-container div#main {
            overflow: unset; }

    .postprofile {
        padding: 0px;
        position: sticky !important;
        top: 0;
        margin-top: 55px;
    }

    the error was the overflow that was hidden on your content element

    I will try this right away! 1 sec!
    Yuee12
    Yuee12
    New Member


    Posts : 18
    Reputation : 1
    Language : English, Spanish, French

    Solved Re: Sticky/floating profile?

    Post by Yuee12 December 31st 2021, 2:29 pm

    Yuee12 wrote:
    skouliki wrote:found it !!! @Yuee12

    delete my code and read it

    Code:

    #content-container div#main {
            overflow: unset; }

    .postprofile {
        padding: 0px;
        position: sticky !important;
        top: 0;
        margin-top: 55px;
    }

    the error was the overflow that was hidden on your content element

    I will try this right away! 1 sec!

    YESSSSS !!!! IT WORKS!!!
    Omg thank you so, so much!!! Very Happy

    skouliki likes this post

    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Sticky/floating profile?

    Post by skouliki December 31st 2021, 2:31 pm

    finally !!!!!!

    i guess your forum wasnt haunted ! Very Happy

    TonnyKamper likes this post

    Yuee12
    Yuee12
    New Member


    Posts : 18
    Reputation : 1
    Language : English, Spanish, French

    Solved Re: Sticky/floating profile?

    Post by Yuee12 December 31st 2021, 2:32 pm

    skouliki wrote:finally !!!!!!

    i guess your forum wasnt haunted ! Very Happy

    No, it's not!! Very Happy
    I will proceed to rearrange the profiles and so on.
    Thank you very, very much for everything!

    skouliki likes this post

    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Sticky/floating profile?

    Post by skouliki December 31st 2021, 2:33 pm

    you are welcome !!

    when you are ready mark the thread as solved

    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Sticky/floating profile?

    Post by skouliki December 31st 2021, 2:34 pm

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules