Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1109567
    redsnapdragons
    Participant

    Hello!

    I want to move my post carousel below Section 1 of all pages. How can I move the carousel?

    My website is this http://www.austinhwyeventcenter.com/

    #1109762
    John Ezra
    Member

    Hi there,

    Thanks for updating the thread! You can add this under Custom > Javascript in the Customizer.

    jQuery( document ).ready(function( $ ) {
     $(".x-post-carousel").insertAfter("#x-section-1") 
    });

    Hope this helps – thanks!

    #1110268
    redsnapdragons
    Participant

    Thank you it works! Is there a way that I can just make this happen on just one page? I want the carousel to move below section 1 on the homepage and keep it above section 1 on the other pages.

    #1110565
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates! If you want to move the post carousel on a specific page like in your homepage only, please update the JS code and make use of this code instead:

    jQuery( document ).ready(function( $ ) {
     $(".page-id-7 .x-post-carousel").insertAfter("#x-section-1") 
    });
    

    Please noticed that we just added this .page-id-{#}. The number is the ID of the page. If you want the code affect in other pages you can change the page ID. To know where to find the page ID, please check out our knowledge base here: https://community.theme.co/kb/how-to-locate-post-ids/

    Hope this helps.

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