This topic has 14 replies, 2 voices, and was last updated 9 years by nolls.

  • Author
  • #83713
     nolls
    Participant

    Hi,
    exist an option to scroll different areas of a page (for example main area like Buddypress-Stream or sidebars)
    independend of each other?

    #83784
     Radu
    Moderator

    Hi,

    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 solution
    #83796
     nolls
    Participant

    Hi,
    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.

    #83870
     Radu
    Moderator

    Hi,

    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 solution
    #83916
     nolls
    Participant

    Great,
    now I can scroll the sidebar,
    but additional I want to scroll the activity stream. Only the stream, without scrolling the whole page.

    #84250
     Radu
    Moderator

    Hi,

    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 solution
    #84322
     nolls
    Participant
    This reply has been set as private.
    #84326
     Radu
    Moderator

    Hi,

    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 solution
    #84340
     nolls
    Participant

    Sorry,
    the code has no function…. 🙁

    #84360
     Radu
    Moderator

    Try 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 solution
    #84363
     nolls
    Participant

    No, it doesn’t work. Can’t see any changes.

    #84465
     Radu
    Moderator

    Hi,

    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 solution
    #84471
     nolls
    Participant

    Yes, now I’ve insert it again.

    #84487
     Radu
    Moderator

    Hi,

    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
    #84496
     nolls
    Participant

    Marvelous, it works wonderful!!!
    Great job!!

Viewing 15 posts - 1 through 15 (of 15 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?