{"id":84966,"date":"2018-07-03T03:58:10","date_gmt":"2018-07-03T07:58:10","guid":{"rendered":"https:\/\/www.templatemonster.com\/help\/?p=84966"},"modified":"2018-07-03T03:58:10","modified_gmt":"2018-07-03T07:58:10","slug":"how-to-create-elementor-parallax-effect","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-to-create-elementor-parallax-effect.html","title":{"rendered":"How to Create Elementor Parallax Effect"},"content":{"rendered":"<p>Hello, our support team is ready to present you a new tutorial that shows how to create <strong>Elementor plugin Parallax Effect<\/strong>.<\/p>\r\n<p>There is no such option as parallax background in Elementor plugin by default, but the same effect can be achieved by completing the next steps<\/p>\r\n<ol>\r\n\t<li><p>Navigate to <strong>Pages > Add new<\/strong> tab on the left of the Dashboard or open your existing page for editing. You need to make sure that you have selected <strong>Full width<\/strong> page layout option.<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_1.png\" alt=\"\" width=\"979\" height=\"403\" class=\"alignnone size-full wp-image-84967\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_1.png 979w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_1-150x62.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_1-300x123.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_1-768x316.png 768w\" sizes=\"(max-width: 979px) 100vw, 979px\" \/><\/a>\t\t\r\n\t\t\r\n\t<\/li>\r\n\t<li><p>Click <strong>Edit with Elementor<\/strong> button to proceed to editing with Elementor. <\/p><\/li>\r\n\t<li><p>Click  on <strong>Add a new section<\/strong> button to create a new section and select one column section layout. <\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_2.png\" alt=\"\" width=\"766\" height=\"274\" class=\"alignnone size-full wp-image-84968\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_2.png 766w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_2-150x54.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_2-300x107.png 300w\" sizes=\"(max-width: 766px) 100vw, 766px\" \/><\/a>\t\t\r\n\t\t\r\n\t<\/li>\r\n\t<li><p>Click <strong>Edit Section<\/strong> icon and switch to <strong>Style settings<\/strong> tab<\/p><\/li>\r\n\t<li><p>Select <strong>Classic background<\/strong> type and upload an image to use it as a section background, choose option <strong>Fixed<\/strong> in the <strong>Attachment<\/strong> dropdown list, select <strong>Cover<\/strong> in the <strong>Size<\/strong> list.<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_3.png\" alt=\"\" width=\"296\" height=\"755\" class=\"alignnone size-full wp-image-84969\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_3.png 296w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_3-59x150.png 59w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_3-118x300.png 118w\" sizes=\"(max-width: 296px) 100vw, 296px\" \/><\/a>\t\t\r\n\t\t\r\n\t<\/li>\r\n\t<li><p>Drop any content modules you want to the section to have some content displayed. If you would like to increase the section height &#8211; feel free to add  Top and Bottom module padding in <strong>Advanced > Padding<\/strong> block of your module. Click on <strong>Save<\/strong> button when you are done.<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_4.png\" alt=\"\" width=\"301\" height=\"582\" class=\"alignnone size-full wp-image-84970\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_4.png 301w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_4-78x150.png 78w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_4-155x300.png 155w\" sizes=\"(max-width: 301px) 100vw, 301px\" \/><\/a>\t\t\r\n\t\t\r\n\t<\/li>\r\n\t<li><p>You will need to add a code snippet as a next step. <strong>Code snippets plugin<\/strong> is needed for this. Navigate to <strong>Plugins\/ Add new<\/strong> and search for <strong>Code Snippets<\/strong> plugin. Install and activate it.<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_5.png\" alt=\"\" width=\"583\" height=\"268\" class=\"alignnone size-full wp-image-84971\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_5.png 583w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_5-150x69.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_5-300x138.png 300w\" sizes=\"(max-width: 583px) 100vw, 583px\" \/><\/a>\t\t\r\n\t\t\r\n\t<\/li>\r\n\t<li><p>Navigate to <strong>Snippets > Add new<\/strong> and paste the following code into the code area:<\/p>\r\n\t\t<pre class=\"brush:js\">function jquery_parallax() {\r\n\t\t\r\n?&gt;\r\n&lt;script language=\"JavaScript\" type=\"text\/javascript\"&gt;\r\n\r\n\r\n;(function($) {\r\n\r\n'use strict'\r\n\r\nvar testMobile;\r\nvar isMobile = {\r\nAndroid: function() {\r\nreturn navigator.userAgent.match(\/Android\/i);\r\n},\r\nBlackBerry: function() {\r\nreturn navigator.userAgent.match(\/BlackBerry\/i);\r\n},\r\niOS: function() {\r\nreturn navigator.userAgent.match(\/iPhone|iPad|iPod\/i);\r\n},\r\nOpera: function() {\r\nreturn navigator.userAgent.match(\/Opera Mini\/i);\r\n},\r\nWindows: function() {\r\nreturn navigator.userAgent.match(\/IEMobile\/i);\r\n},\r\nany: function() {\r\nreturn (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows());\r\n}\r\n};\r\n\r\nvar parallax = function() {\r\ntestMobile = isMobile.any();\r\nif (testMobile == null) {\r\n$(\".parallax\").parallax(\"50%\", 0.3);\r\n}\r\n};\r\n\r\n\/\/ Dom Ready\r\n$(function() {\r\nparallax();\r\n});\r\n})(jQuery);\r\n\r\n\/*\r\njQuery Parallax 1.1.3\r\nAuthor: Ian Lunn\r\nPlugin URL: http:\/\/www.ianlunn.co.uk\/plugins\/jquery-parallax\/\r\n\r\nDual licensed under the MIT and GPL licenses:\r\nhttp:\/\/www.opensource.org\/licenses\/mit-license.php\r\nhttp:\/\/www.gnu.org\/licenses\/gpl.html\r\n*\/\r\n!function(n){var t=n(window),e=t.height();t.resize(function(){e=t.height()}),n.fn.parallax=function(o,r,i){function u(){var i=t.scrollTop();l.each(function(t,u){var l=n(u),f=l.offset().top,s=a(l);i&gt;f+s||f&gt;i+e||l.css(\"backgroundPosition\",o+\" \"+Math.round((l.data(\"firstTop\")-i)*r)+\"px\")})}var a,l=n(this);l.each(function(t,e){$element=n(e),$element.data(\"firstTop\",$element.offset().top)}),a=i?function(n){return n.outerHeight(!0)}:function(n){return n.height()},(arguments.length&lt;1||null===o)&&(o=\"50%\"),(arguments.length&lt;2||null===r)&&(r=.1),(arguments.length&lt;3||null===i)&&(i=!0),t.bind(\"scroll\",u).resize(u),u()}}(jQuery);\r\n\r\n&lt;\/script&gt;\r\n&lt;?php\r\n\r\n}\r\n\r\nif (!(is_admin())) {\r\nwp_enqueue_script('jquery');\r\nadd_action('wp_head', 'jquery_parallax');\r\n}<\/pre>\r\n\t\t<\/li>\r\n\t\t<li><p>Click <strong>Save Changes and Activate <\/strong> button.<\/p>\r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_6.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_6.png\" alt=\"\" width=\"467\" height=\"96\" class=\"alignnone size-full wp-image-84972\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_6.png 467w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_6-150x31.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_6-300x62.png 300w\" sizes=\"(max-width: 467px) 100vw, 467px\" \/><\/a>\t\t\t\r\n\t\t\t\r\n\t\t<\/li>\r\n\t\t<li><p>Now  you need to open the settings of section you added via Elementor again, open <strong>Advanced<\/strong> tab and input <strong>parallax<\/strong> class in <strong>CSS Classes<\/strong> field.<\/p>\r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_7.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_7.png\" alt=\"\" width=\"240\" height=\"460\" class=\"alignnone size-full wp-image-84973\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_7.png 240w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_7-78x150.png 78w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/elementor_how_to_parallax_7-157x300.png 157w\" sizes=\"(max-width: 240px) 100vw, 240px\" \/><\/a>\t\t\t\r\n\t\t\t\r\n\t\t<\/li>\r\n\t\t<li><p>Save the changes. Now you can go to the page you\u2019ve created to see the parallax effect.<\/p><\/li>\r\n\t\t<\/ol>\t\t\r\n<p>In case you&#8217;re searching for premium themes to build your website from scratch, look through our collection of beautiful <a href=\"https:\/\/www.templatemonster.com\/wordpress-themes.php\">WordPress themes<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Hello, our support team is ready to present you a new tutorial that shows how to create <strong>Elementor plugin Parallax Effect<\/strong><\/p>\n","protected":false},"author":56,"featured_media":84974,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2017,728],"tags":[1008,2602,1773],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/84966"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=84966"}],"version-history":[{"count":4,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/84966\/revisions"}],"predecessor-version":[{"id":84998,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/84966\/revisions\/84998"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/84974"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=84966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=84966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=84966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}