Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #146054
    JouniKuru
    Participant

    Hello,

    Is it possible to auto slide The Ethos post carousel?

    Best,
    Jouni Kuru

    #146383
    Christian
    Moderator

    Hey 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. 🙂

    #151914
    JouniKuru
    Participant

    Hi!

    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 Kuru

    #152133
    Christian
    Moderator

    Hey Jouni,

    I checked your site and the Carousel is moving. Please clear all your cache and check again.

    Thanks.

    #153898
    JouniKuru
    Participant

    Hi,

    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,
    Jouni

    #154202
    Nabeel A
    Moderator

    Hi 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.

    #164708
    JouniKuru
    Participant

    Hi,

    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?

    #164850
    Zeshan
    Member

    Hi 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.

  • <script> jQuery(function($){ $("#no-reply-146054 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>