This topic has 9 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #169182
     vidjaylee
    Participant

    Hi ,

    i have edited sidebar.php in kleo-child to fixed it on scrolling with bootstrap affix, please watch the video to see the result

    http://recordit.co/DLXlrNNly0

    do you have better solution?

    Thank you

    Ahmed

    #169183
     vidjaylee
    Participant

    i edited this line
    <div class="sidebar sidebar-main <?php echo $sidebar_classes; ?>" data-spy="affix" data-offset-top="205">

    #169228
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #169234
     vidjaylee
    Participant

    thanks

    #169241
     vidjaylee
    Participant

    Hi,
    i change the content width of 2sidebars templates to 50% and i add bootstratp aff to the inner-content class and it works

    COPY CODE
    <div class="sidebar sidebar-main <?php echo $sidebar_classes; ?>" >
    	<div class="inner-content widgets-container" data-spy="affix" data-offset-top="205">

    BUT in mobile the sidebar disappears, please whatch the video
    http://recordit.co/IJIRc681Q2

    1st question: how to fix the 2nd sidebar?
    2nd question: how tho show them in mobile?

    Thank you for help
    Ahmed

    #169389
     Radu
    Moderator

    Hi,

    I need to be logged in to can view the member’s area of the website,

    In the mobile, those columns cannot be fixed cuz will cover all content, but for the sidebar that it’s hidden, I need to inspect the page but I need an account.

    Let me know

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #169403
     vidjaylee
    Participant
    This reply has been set as private.
    #169556
     Radu
    Moderator

    Hi,

    Altering the extra sidebar structure can be made using the next PHP snippet.

    COPY CODE
    
    //get the extra sidebar
    if ( ! function_exists( 'kleo_extra_sidebar' ) ) :
        function kleo_extra_sidebar() {
            $classes = apply_filters( 'kleo_extra_sidebar_classes', '' );
    
            echo '<div class="sidebar sidebar-extra ' . $classes . '" data-spy="affix" data-offset-top="205">'
                . '<div class="inner-content">';
    
            generated_dynamic_sidebar( 'extra' );
    
            echo '</div>'
                . '</div> <!--end sidebar columns-->';
        }
    endif;
    

    That will be added to wp-content/themes/kleo-child/functions.php

    NOTE: Child theme needs to be installed and activated.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #169768
     vidjaylee
    Participant

    hi,
    thank you for help, i add the snippet, but It don’t work well,
    please watch the video

    http://recordit.co/I9OIbH0aAy

    I will leave this function for now, thank you very much.

    Ahmed

    #169969
     Radu
    Moderator

    Hi,

    Ok then

    Best Regards
    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?