-
AuthorPosts
-
November 16, 2014 at 5:06 am #146054
JouniKuruParticipantHello,
Is it possible to auto slide The Ethos post carousel?
Best,
Jouni KuruNovember 16, 2014 at 8:09 pm #146383
ChristianModeratorHey Jouni,
Please setup a child theme first. See http://theme.co/x/member/kb/how-to-setup-child-themes/ for instructions. After that, copy _post-carousel.php located in wp-content\themes\x\framework\views\ethos in the same folder in your child theme wp-content\themes\x-child-ethos\framework\views\ethos. Open the copied file and search for the line
jQuery('.x-post-carousel').slick({Insert the code
autoplay : true,under it so the whole script should look like
<script> jQuery(document).ready(function() { jQuery('.x-post-carousel').slick({ autoplay : true, speed : 500, slide : 'li', slidesToShow : <?php echo x_get_option( 'x_ethos_post_carousel_display_count_extra_large' ); ?>, slidesToScroll : 1, responsive : [ { breakpoint : 1500, settings : { speed : 500, slide : 'li', slidesToShow : <?php echo x_get_option( 'x_ethos_post_carousel_display_count_large' ); ?> } }, { breakpoint : 1200, settings : { speed : 500, slide : 'li', slidesToShow : <?php echo x_get_option( 'x_ethos_post_carousel_display_count_medium' ); ?> } }, { breakpoint : 979, settings : { speed : 500, slide : 'li', slidesToShow : <?php echo x_get_option( 'x_ethos_post_carousel_display_count_small' ); ?> } }, { breakpoint : 550, settings : { speed : 500, slide : 'li', slidesToShow : <?php echo x_get_option( 'x_ethos_post_carousel_display_count_extra_small' ); ?> } } ] }); }); </script>Hope that helps. 🙂
November 24, 2014 at 1:57 pm #151914
JouniKuruParticipantHi!
Thank’s I made the changes and it worked. But now after few days, again it won’t work.
I would appreciate help on this issue – my client really needs the post carousel to move.The site: http://solidhouse.fi/
Kind regards,
Jouni KuruNovember 24, 2014 at 11:08 pm #152133
ChristianModeratorHey Jouni,
I checked your site and the Carousel is moving. Please clear all your cache and check again.
Thanks.
November 27, 2014 at 5:26 am #153898
JouniKuruParticipantHi,
I tried to clear my cache from the browser and also remove the Super Cache plugin, but still the carousel is not moving for me. I don’t understand what else can I do?
Best,
JouniNovember 27, 2014 at 5:04 pm #154202
Nabeel AModeratorHi Jouni,
You’re using an old version of X theme. Please update you theme and plugins to the latest version. You can find the latest version numbers here: (http://theme.co/x/member/changelog/) Then you can compare them to what’s installed on your site.
If you find anything to be out of date, you can review our update guide.
December 15, 2014 at 6:36 am #164708
JouniKuruParticipantHi,
I have now update the X theme to the lastest version, and also plugins. But still the post carousel auto slide is not working. What to do?
December 15, 2014 at 10:28 am #164850
ZeshanMemberHi there,
Thanks for posting in!
Please follow this thread instead: https://theme.co/x/member/forums/topic/ethos-post-carousel-auto-rotate/#post-149897
Hope this helps. 🙂
Thank you.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-146054 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
