-
Author
-
March 1, 2016 at 20:43 #107889RafVinParticipant
Good evening, I would like to question.
How do I fix the sidebar?
Thank you.
March 2, 2016 at 17:41 #108036RaduModeratorHi,
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 solutionMarch 2, 2016 at 18:05 #108041RafVinParticipantI wanted to make sure that if I scroll on the site, the sidebar remains blocked and does not scroll with the page.
Thank you.
March 3, 2016 at 17:36 #108288RaduModeratorHi,
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 solutionMarch 4, 2016 at 13:28 #108478RafVinParticipantThank 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.
March 4, 2016 at 17:44 #108601RaduModeratorYou 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 solutionAttachments:
You must be logged in to view attached files. -
AuthorPosts
You must be logged in to reply to this topic.