-
Author
-
August 1, 2017 at 01:17 #169182vidjayleeParticipant
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
do you have better solution?
Thank you
Ahmed
August 1, 2017 at 01:19 #169183vidjayleeParticipanti edited this line
<div class="sidebar sidebar-main <?php echo $sidebar_classes; ?>" data-spy="affix" data-offset-top="205">
August 1, 2017 at 08:10 #169228LauraModeratorHello, 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 solutionLaura 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 🙂
August 1, 2017 at 10:53 #169241vidjayleeParticipantHi,
i change the content width of 2sidebars templates to 50% and i add bootstratp aff to the inner-content class and it worksCOPY 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/IJIRc681Q21st question: how to fix the 2nd sidebar?
2nd question: how tho show them in mobile?Thank you for help
AhmedAugust 2, 2017 at 18:16 #169389RaduModeratorHi,
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 solutionAugust 4, 2017 at 16:42 #169556RaduModeratorHi,
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 solutionAugust 6, 2017 at 14:32 #169768vidjayleeParticipanthi,
thank you for help, i add the snippet, but It don’t work well,
please watch the videoI will leave this function for now, thank you very much.
Ahmed
August 8, 2017 at 20:29 #169969RaduModeratorHi,
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 -
AuthorPosts
You must be logged in to reply to this topic.