{"id":1668,"date":"2017-06-15T03:06:08","date_gmt":"2017-06-15T03:06:08","guid":{"rendered":"http:\/\/docs.contentviewspro.com\/?p=1668"},"modified":"2017-06-15T03:06:08","modified_gmt":"2017-06-15T03:06:08","password":"","slug":"page-scrolls-updown-click-nextprevious-button-scrollable-list","status":"publish","type":"docs","link":"https:\/\/contentviewspro.com\/documentation\/article\/page-scrolls-updown-click-nextprevious-button-scrollable-list\/","title":{"rendered":"Scrollable list &#8211; Fix: click on next\/prev button caused the page to scroll"},"content":{"rendered":"<p>If the page moves up or down on click the navigation buttons (next, previous) of Scrollable list, it means there was a custom Javascript handle of theme or another plugin attached to these buttons.<br \/>\nTo resolve this issue, please add this code to <strong>Custom JS<\/strong> field in Content Views >> Settings page:<\/p>\n<pre style=\"font-size:13px\">\n\/* Content Views - Fix page scrolls on click next\/previous button of Scrollable List *\/\nsetTimeout(function() {\n$('.pt-cv-scrollable .carousel-control').off('click');\n}, 2000);\n<\/pre>\n<p>If you are using Content Views Free, please add above code with this instruction (<a href=\"http:\/\/contentviewspro.com\/documentation\/article\/add-custom-javascript-content-views-free-version\/\" target=\"_blank\" rel=\"noopener noreferrer\">click here<\/a>).<\/p>\n<p>Best regards,<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If the page moves up or down on click the navigation buttons (next, previous) of Scrollable list, it means there was a custom Javascript handle of theme or another plugin attached to these buttons. To resolve this issue, please add this code to Custom JS field in Content Views >> Settings page: \/* Content Views &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/contentviewspro.com\/documentation\/article\/page-scrolls-updown-click-nextprevious-button-scrollable-list\/\"> <span class=\"screen-reader-text\">Scrollable list &#8211; Fix: click on next\/prev button caused the page to scroll<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"doc_category":[23],"doc_tag":[24],"class_list":["post-1668","docs","type-docs","status-publish","hentry","doc_category-common-bugs","doc_tag-scrollable-list"],"year_month":"2026-09","word_count":90,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin1","author_nicename":"admin1","author_url":"https:\/\/contentviewspro.com\/documentation\/author\/admin1\/"},"doc_category_info":[{"term_name":"Troubleshooting","term_url":"https:\/\/contentviewspro.com\/documentation\/cats\/common-bugs\/"}],"doc_tag_info":[{"term_name":"scrollable list","term_url":"https:\/\/contentviewspro.com\/documentation\/tags\/scrollable-list\/"}],"_links":{"self":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/1668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/comments?post=1668"}],"version-history":[{"count":0,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/1668\/revisions"}],"wp:attachment":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/media?parent=1668"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_category?post=1668"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=1668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}