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.

Sticky/floating profile?

2 posters

Page 2 of 2 Previous  1, 2

Go down

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
Yuee12
Yuee12
New Member

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

https://rpapart.foroactivo.com/

Back to top Go down


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;
}
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

Back to top Go down

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.
Yuee12
Yuee12
New Member

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

https://rpapart.foroactivo.com/

Back to top Go down

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

http://iconskouliki.forumgreek.com

Back to top Go down

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
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

TonnyKamper likes this post

Back to top Go down

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

https://rpapart.foroactivo.com/

Back to top Go down

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
Yuee12
Yuee12
New Member

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

https://rpapart.foroactivo.com/

skouliki likes this post

Back to top Go down

Solved Re: Sticky/floating profile?

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

finally !!!!!!

i guess your forum wasnt haunted ! Very Happy
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

TonnyKamper likes this post

Back to top Go down

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!
Yuee12
Yuee12
New Member

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

https://rpapart.foroactivo.com/

skouliki likes this post

Back to top Go down

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

http://iconskouliki.forumgreek.com

Back to top Go down

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
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum