-
Author
-
October 22, 2015 at 14:20 #83713
nolls
ParticipantHi,
exist an option to scroll different areas of a page (for example main area like Buddypress-Stream or sidebars)
independend of each other?October 22, 2015 at 20:06 #83784Radu
ModeratorHi,
If i understand correctly please read this topic : https://archived.seventhqueen.com/forums/topic/smooth-anchor
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 22, 2015 at 21:25 #83796nolls
ParticipantHi,
no that’s not what I mean.
On my site I’ve got one sidebar. If I scroll the site, the whole site scrolls down.
But I want scroll down the sidebar, so the other areas keep on their positions.
Then I want scroll down for example the buddypress stream, and the sidebar keep on the position.
Its like frames in the site.October 23, 2015 at 16:39 #83870Radu
ModeratorHi,
Try this css code.
COPY CODE.sidebar.sidebar-main.col-sm-3.sidebar-right { overflow-y: scroll; height: 400px; }
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 23, 2015 at 21:05 #83916nolls
ParticipantGreat,
now I can scroll the sidebar,
but additional I want to scroll the activity stream. Only the stream, without scrolling the whole page.October 26, 2015 at 15:44 #84250Radu
ModeratorHi,
Please provide URL were your activity appears.
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 26, 2015 at 19:02 #84326Radu
ModeratorHi,
Use this css code
COPY CODE///// Activity Stream body.activity #buddypress { height: calc(80vh - 100px); overflow-y: scroll; } body.activity .kleo-transform .one-by-one-animated .start-animation .el-appear, body.activity .kleo-transform .kleo-thumbs-animated.th-appear img.start-animation, .kleo-transform .start-animation.el-appear { -webkit-animation: none; -o-animation: none; animation: none; opacity: 1; -moz-transform: none; -webkit-transform: none; -o-transform: none; transform: none; opacity:1 !important; } body.activity .kleo-transform .animated.animate-when-visible, .kleo-transform .animated.animate-when-almost-visible, .cul { opacity: 1; } /////For Members Directory div#members-dir-list { height: calc(80vh - 100px); overflow-y: scroll; overflow-x: hidden;} body.directory.members .kleo-transform .one-by-one-animated .start-animation .el-appear, body.directory.members .kleo-transform .kleo-thumbs-animated.th-appear img.start-animation, .kleo-transform .start-animation.el-appear { -webkit-animation: none; -o-animation: none; animation: none; opacity: 1; -moz-transform: none; -webkit-transform: none; -o-transform: none; transform: none; opacity:1 !important; } body.directory.members .kleo-transform .animated.animate-when-visible, .kleo-transform .animated.animate-when-almost-visible, .cul { opacity: 1; } ////// Group Activity div#groups-dir-list { height: calc(80vh - 100px); overflow-y: scroll; overflow-x: hidden; } body.directory.groups .kleo-transform .one-by-one-animated .start-animation .el-appear, body.directory.members .kleo-transform .kleo-thumbs-animated.th-appear img.start-animation, .kleo-transform .start-animation.el-appear { -webkit-animation: none; -o-animation: none; animation: none; opacity: 1; -moz-transform: none; -webkit-transform: none; -o-transform: none; transform: none; opacity:1 !important; } body.directory.groups .kleo-transform .animated.animate-when-visible, .kleo-transform .animated.animate-when-almost-visible, .cul { opacity: 1; }
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 26, 2015 at 20:19 #84360Radu
ModeratorTry to put the code in kleo-child/style.css
Let me know if it works.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 27, 2015 at 16:42 #84465Radu
ModeratorHi,
The CSS code from above is loaded to the website now ?
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 27, 2015 at 17:56 #84487Radu
ModeratorHi,
Sorry it was my mistake, the comments from file it altering the css code, this is a corrected one
COPY CODE/* Activity Stream */ #buddypress { height: calc(80vh - 100px) !important; overflow-y: scroll !important; } body.activity .kleo-transform .one-by-one-animated .start-animation .el-appear, body.activity .kleo-transform .kleo-thumbs-animated.th-appear img.start-animation, .kleo-transform .start-animation.el-appear { -webkit-animation: none; -o-animation: none; animation: none; opacity: 1; -moz-transform: none; -webkit-transform: none; -o-transform: none; transform: none; opacity:1 !important; } body.activity .kleo-transform .animated.animate-when-visible, .kleo-transform .animated.animate-when-almost-visible, .cul { opacity: 1; } /*For Members Directory */ div#members-dir-list { height: calc(80vh - 100px); overflow-y: scroll; overflow-x: hidden;} body.directory.members .kleo-transform .one-by-one-animated .start-animation .el-appear, body.directory.members .kleo-transform .kleo-thumbs-animated.th-appear img.start-animation, .kleo-transform .start-animation.el-appear { -webkit-animation: none; -o-animation: none; animation: none; opacity: 1; -moz-transform: none; -webkit-transform: none; -o-transform: none; transform: none; opacity:1 !important; } body.directory.members .kleo-transform .animated.animate-when-visible, .kleo-transform .animated.animate-when-almost-visible, .cul { opacity: 1; } /* Group Activity */ div#groups-dir-list { height: 500px; overflow-y: scroll; overflow-x: hidden; } body.directory.groups .kleo-transform .one-by-one-animated .start-animation .el-appear, body.directory.members .kleo-transform .kleo-thumbs-animated.th-appear img.start-animation, .kleo-transform .start-animation.el-appear { -webkit-animation: none; -o-animation: none; animation: none; opacity: 1; -moz-transform: none; -webkit-transform: none; -o-transform: none; transform: none; opacity:1 !important; } body.directory.groups .kleo-transform .animated.animate-when-visible, .kleo-transform .animated.animate-when-almost-visible, .cul { opacity: 1; }
It should work
Let me know.
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.