This topic has 5 replies, 2 voices, and was last updated 8 years by Radu.

  • Author
  • #107889
     RafVin
    Participant

    Good evening, I would like to question.

     

    How do I fix the sidebar?

     

    Thank you.

    #108036
     Radu
    Moderator

    Hi,

    Can you be more specific please ?

    Cheers

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

    I wanted to make sure that if I scroll on the site, the sidebar remains blocked and does not scroll with the page.

    Thank you.

    #108288
     Radu
    Moderator

    Hi,

    Kleo doesn’t have this functionality but you can use this javascript.

    COPY CODE
    
    <script src="https://rawgit.com/leafo/sticky-kit/v1.1.2/jquery.sticky-kit.js"></script>
    <script>
    jQuery(".sidebar-right").stick_in_parent();
    </script>
    

    This code will be added to wp-admin -> theme options -> general settings -> JavaScript code.

    Instead of .sidebar-right you will need to paste the widgets class or div that you want to stay floated

    If you cannot handle this, let me know what widgets to stay floating

    Cheers

    Radu

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

    Thank you for answering.

    The sidebar that I would block it “Extra – for 3 columns pages”.

    How do I find the names of other sidebars so you can do other modifications alone?

    Thank you.

    #108601
     Radu
    Moderator

    You will need to identify the elements ID’s or Classes

    See example image attached ,

    You will see there ID recent-posts-3 and you will have to modify js like this

    jQuery(“#recent-posts-3”).stick_in_parent();

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    Attachments:
    You must be logged in to view attached files.
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?