Sticky/floating profile?
2 posters
Page 1 of 2
Page 1 of 2 • 1, 2
Sticky/floating profile?
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 31/12/2021, 14:34; edited 1 time in total
Re: Sticky/floating profile?
hello and welcome
first of all your forum needs to be open so we can inspect the elements
if you do not wish to open it then you can send to a staff member a test account via private message
do you have a forum link or any link where we can see the result you want to succeed?
first of all your forum needs to be open so we can inspect the elements
if you do not wish to open it then you can send to a staff member a test account via private message
do you have a forum link or any link where we can see the result you want to succeed?
Re: Sticky/floating profile?
skouliki wrote:hello and welcome
first of all your forum needs to be open so we can inspect the elements
if you do not wish to open it then you can send to a staff member a test account via private message
do you have a forum link or any link where we can see the result you want to succeed?
Hello, skouliki.
Thanks for your message.
I will create a test account and send it to a staff member via private message. I take it I can send it to you?
Unfortunately, I do not have an example of the result I want to succeed. I know I've seen it in other forums, but it was a long time ago, and I don't have any track left of it.
I don't know whether it's easy or difficult, but the result is making the profile move along with a scroll up/down.
I believe the right function to use would be "sticky", but unfortunately, I know very, very little of CC.
Re: Sticky/floating profile?
thank you for the pm
i have not seen this in any forumotion forum so far that's why i ask
the profile is moving while reading a thread ?
i have not seen this in any forumotion forum so far that's why i ask
the profile is moving while reading a thread ?
Re: Sticky/floating profile?
skouliki wrote:thank you for the pm
i have not seen this in any forumotion forum so far that's why i ask
the profile is moving while reading a thread ?
I understand.
No, it's not; and it's precisely what I would like to do. Make it move down while reading a thread, if that's possible at all.
Re: Sticky/floating profile?
but in a thread, you have multiple posts ... all the profiles will be moving while reading ?
Re: Sticky/floating profile?
skouliki wrote:but in a thread, you have multiple posts ... all the profiles will be moving while reading ?
Hm, the idea would be to make profiles not abandon the limits of a post. Hence, to make them stay between such bars so that they don't cover other profiles in other replies.
Or make only the profile I'm reading move.
Edit: here is an example of how it would look like!
Last edited by Yuee12 on 31/12/2021, 12:45; edited 1 time in total
Re: Sticky/floating profile?
as far as i know this can not be done with css maybe it can be done with javascript
since these days are holiday days please be patient
i wish you a happy new year
since these days are holiday days please be patient
i wish you a happy new year
Last edited by skouliki on 31/12/2021, 14:35; edited 1 time in total
Re: Sticky/floating profile?
skouliki wrote:as far as i know this can not be done with css maybe it can be done with javascript
since these days are holiday days please be patient
i wish you a happy new year
Sure, I will be patient! Thank you a lot!
Happy new year to you, too!
skouliki likes this post
Re: Sticky/floating profile?
i saw the example thank you i do understand better now let me try to see if i can succeed the result with CSS codes
Re: Sticky/floating profile?
can you try this code to your CSS
- Code:
.postprofile {
padding: 0px;
position: sticky;
top: 43px;
margin-right: -90px;
margin-top: 55px;
}
Last edited by skouliki on 31/12/2021, 13:04; edited 1 time in total
Re: Sticky/floating profile?
skouliki wrote:can you try this code to your CSS
- Code:
.postprofile {
padding: 0px;
width: auto;
position: sticky;
top: 43px;
margin-right: -90px;
margin-top: 55px;
}
Done. The profile currently appears this way:
- Spoiler:
Furthermore, it's still fixed.
I forgot to give administrator rights in case you need them for anything. It's done.
Re: Sticky/floating profile?
this is what i get in my test forum https://test4test.forumotion.com/t13-scrsadfrgtyujio-p
can you see the profile moving ?
if you delete the width or the margin-left it will come to place ..
we are looking the scrolling now after we will see the margins
can you see the profile moving ?
if you delete the width or the margin-left it will come to place ..
we are looking the scrolling now after we will see the margins
Re: Sticky/floating profile?
skouliki wrote:this is what i get in my test forum https://test4test.forumotion.com/t13-scrsadfrgtyujio-p
can you see the profile moving ?
if you delete the width or the margin-left it will come to place ..
we are looking the scrolling now after we will see the margins
I understand.
Yes, in your test forum, the profile moves!
But in mine, it appears it doesn't.
Can you see the profile moving?
Re: Sticky/floating profile?
no, so i think this is a conflict coming from your templates
try to force the template ( viewtopic body ) to the default to check if the code works
try to force the template ( viewtopic body ) to the default to check if the code works
Re: Sticky/floating profile?
skouliki wrote:no, so i think this is a conflict coming from your templates
try to force the template ( viewtopic body ) to the default to check if the code works
I'm not sure I did it correctly (I really know little of all this).
I went to Templates - General, and I clicked on "publish" for the viewtopic body option (its status was Waiting).
The profile still doesn't move.
Re: Sticky/floating profile?
replace the css code
with this one so we can view it ok
you have to leave the templates on the default mode for me to check the elements
with this one so we can view it ok
- Code:
.postprofile {
padding: 0px;
position: sticky;
top: 43px;
margin-top: 55px;
}
you have to leave the templates on the default mode for me to check the elements
Re: Sticky/floating profile?
skouliki wrote:replace the css code
with this one so we can view it ok
- Code:
.postprofile {
padding: 0px;
position: sticky;
top: 43px;
margin-top: 55px;
}
you have to leave the templates on the default mode for me to check the elements
Okay, so:
- I put the templates on the default mode.
- I replaced the previous css code with this one
I can't see profiles moving. Can you?
Re: Sticky/floating profile?
i do not see the defautl templates
i see the forum as it was at first place
i see the forum as it was at first place
Re: Sticky/floating profile?
skouliki wrote:i do not see the defautl templates
i see the forum as it was at first place
That's strange. I clicked on the Force the default templates as you asked D:
Re: Sticky/floating profile?
skouliki wrote:do the same with the javascript ..turn them off and recheck
since the code on my test forum is working something in your forum is blocking it
css
templates
javascript
Re: Sticky/floating profile?
ok turn them all back as normal
and send me your CSS codes by private message
and send me your CSS codes by private message
Re: Sticky/floating profile?
skouliki wrote:ok turn them all back as normal
and send me your CSS codes by private message
Right away!
Re: Sticky/floating profile?
https://test4test.forumotion.com/t13-scrsadfrgtyujio-p#75
with your css i still have a good result can you post the code a gave you at the top of your CSS sheet
with your css i still have a good result can you post the code a gave you at the top of your CSS sheet
Re: Sticky/floating profile?
skouliki wrote:https://test4test.forumotion.com/t13-scrsadfrgtyujio-p#75
with your css i still have a good result can you post the code a gave you at the top of your CSS sheet
I put it at the very top, but it still doesn't work:
- Spoiler:
Page 1 of 2 • 1, 2
Similar topics
» Floating Menu
» Floating Text.
» Combination of two floating menus
» Have Problem with floating menu
» Floating Menu :: Individual Button Hover Code
» Floating Text.
» Combination of two floating menus
» Have Problem with floating menu
» Floating Menu :: Individual Button Hover Code
Page 1 of 2
Permissions in this forum:
You cannot reply to topics in this forum