{"id":1494,"date":"2023-10-14T04:06:37","date_gmt":"2023-10-14T04:06:37","guid":{"rendered":"https:\/\/loftocean.com\/doc\/cozystay\/?post_type=ptkb&#038;p=1494"},"modified":"2023-10-14T04:42:19","modified_gmt":"2023-10-14T04:42:19","slug":"slider","status":"publish","type":"ptkb","link":"https:\/\/loftocean.com\/doc\/cozystay\/ptkb\/slider\/","title":{"rendered":"Slider"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1494\" class=\"elementor elementor-1494\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-27bf644 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"27bf644\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-36c845d\" data-id=\"36c845d\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2f39eb4 elementor-widget elementor-widget-text-editor\" data-id=\"2f39eb4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>When editing a page with Elementor, you will find the \u201c<strong>Slider (CS)<\/strong>\u201d element in the left panel. With this element, you can divide content into slides.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-405b4cc elementor-widget elementor-widget-image\" data-id=\"405b4cc\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/loftocean.com\/doc\/cozystay\/wp-content\/uploads\/sites\/7\/2023\/10\/cs-slider.jpg\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTQ5NiwidXJsIjoiaHR0cHM6XC9cL2xvZnRvY2Vhbi5jb21cL2RvY1wvY296eXN0YXlcL3dwLWNvbnRlbnRcL3VwbG9hZHNcL3NpdGVzXC83XC8yMDIzXC8xMFwvY3Mtc2xpZGVyLmpwZyJ9\">\n\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"540\" height=\"1024\" src=\"https:\/\/loftocean.com\/doc\/cozystay\/wp-content\/uploads\/sites\/7\/2023\/10\/cs-slider-540x1024.jpg\" class=\"attachment-large size-large wp-image-1496\" alt=\"\" srcset=\"https:\/\/loftocean.com\/doc\/cozystay\/wp-content\/uploads\/sites\/7\/2023\/10\/cs-slider-540x1024.jpg 540w, https:\/\/loftocean.com\/doc\/cozystay\/wp-content\/uploads\/sites\/7\/2023\/10\/cs-slider-158x300.jpg 158w, https:\/\/loftocean.com\/doc\/cozystay\/wp-content\/uploads\/sites\/7\/2023\/10\/cs-slider-550x1044.jpg 550w, https:\/\/loftocean.com\/doc\/cozystay\/wp-content\/uploads\/sites\/7\/2023\/10\/cs-slider-370x702.jpg 370w, https:\/\/loftocean.com\/doc\/cozystay\/wp-content\/uploads\/sites\/7\/2023\/10\/cs-slider-255x484.jpg 255w, https:\/\/loftocean.com\/doc\/cozystay\/wp-content\/uploads\/sites\/7\/2023\/10\/cs-slider.jpg 586w\" sizes=\"(max-width: 540px) 100vw, 540px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a2a87fe elementor-widget elementor-widget-text-editor\" data-id=\"a2a87fe\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Before adding this &#8220;Slider&#8221; element to your page, you need to create some <strong>slides<\/strong>, each slide is a &#8220;<strong>Custom Block<\/strong>&#8220;. (<a href=\"https:\/\/loftocean.com\/doc\/cozystay\/ptkb\/custom-blocks\/\">What is Custom Block?<\/a>)<\/p><p>Please check the tutorial below for the detailed steps.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b42c62b elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"b42c62b\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a571908 elementor-widget elementor-widget-text-editor\" data-id=\"a571908\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3><strong>Tutorial Video<\/strong><\/h3><p>In this tutorial video, you can see the complete process of adding a slider to your page using &#8220;<strong>Custom Blocks<\/strong>&#8221; and the &#8220;<strong>Slider<\/strong>&#8221; element. There is a text version of the complete step-by-step description below the video.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-01e79c2 elementor-widget elementor-widget-video\" data-id=\"01e79c2\" data-element_type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/youtu.be\\\/tYEuJHkZMe0&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b266575 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"b266575\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-acbd20d elementor-widget elementor-widget-text-editor\" data-id=\"acbd20d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3><strong>Text Version of the Tutorial<\/strong><\/h3><ol><li>On your website dashboard, please navigate to &#8220;Custom Blocks&#8221;, create a new custom block, you can name it &#8220;Slide 1&#8221;. And edit it with Elementor.<\/li><li>You can speed up your work by adding pre-made templates from the <strong>CozyStay Template Library<\/strong> (<a href=\"https:\/\/loftocean.com\/doc\/cozystay\/ptkb\/cozystay-template-library\/\">What is CozyStay Template Library?<\/a>). Please open the CozyStay Template Library, select &#8220;Slides&#8221; from the dropdown filter. There are 3 pre-made slides. You can choose one and click to insert it to the page.<\/li><li>After adding a pre-made template, you can edit the content, background images, add new elements, etc. according to your needs.<\/li><li>Please save your changes, then return to the WordPress site <strong>dashboard<\/strong> &gt; <strong>Custom Blocks page<\/strong> and repeat the above operations to create new Custom Blocks, for example, Slide 2, Slide 3, etc. Create as many custom blocks as you need in your Slider.<\/li><li>We assume that your slider will have three slides, so we create three custom blocks: Slide 1, Slide 2, and Slide 3. We have edited the content in each slide, and now we can add this slider to the page.<\/li><li>On your website dashboard, please navigate to &#8220;Pages&#8221;, edit the page with Elementor. Please add a new section, and find &#8220;<strong>Slider (CS)<\/strong>&#8221; in the Elementor&#8217;s left panel, add it to the new section we just created.<\/li><li>Edit the Slider. The Slider element contains two <strong>Slider Items<\/strong> by default. Click the Slider Item to expand, select &#8220;<b>Custom Block<\/b>&#8221; as the &#8220;<b>Content Type<\/b>&#8220;, and then select a custom block, for example, &#8220;Slide 1&#8221;.<\/li><li>Expand the second Slider Item and select &#8220;<b>Custom Block<\/b>&#8221; as the &#8220;<b>Content Type<\/b>&#8220;, and then select &#8220;Slide 2&#8221;.<\/li><li>You can add a new slider item, and select &#8220;Slide 3&#8221;.<\/li><li>In order to better display the slider, we recommend setting the &#8220;<strong>Content Width<\/strong>&#8221; of the <strong>Section<\/strong> containing the slider to &#8220;<strong>Full Width<\/strong>&#8221; and the &#8220;<strong>Column Gap<\/strong>&#8221; to &#8220;<strong>No Gap<\/strong>&#8220;.<\/li><li>Select the slider and navigate to the <strong>&#8220;Style&#8221; tab<\/strong>, you&#8217;ll find more options for styling your slider.<\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"menu_order":0,"template":"","ptkb_category":[8],"class_list":["post-1494","ptkb","type-ptkb","status-publish","hentry","ptkb_category-cs-elements"],"_links":{"self":[{"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/ptkb\/1494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/ptkb"}],"about":[{"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/types\/ptkb"}],"version-history":[{"count":2,"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/ptkb\/1494\/revisions"}],"predecessor-version":[{"id":1497,"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/ptkb\/1494\/revisions\/1497"}],"wp:attachment":[{"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/media?parent=1494"}],"wp:term":[{"taxonomy":"ptkb_category","embeddable":true,"href":"https:\/\/loftocean.com\/doc\/cozystay\/wp-json\/wp\/v2\/ptkb_category?post=1494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}