{"id":33988,"date":"2019-03-04T11:22:58","date_gmt":"2019-03-04T11:22:58","guid":{"rendered":"http:\/\/getshortcodes.com\/?post_type=docs&#038;p=33988"},"modified":"2022-08-03T07:15:36","modified_gmt":"2022-08-03T07:15:36","slug":"parallax-section","status":"publish","type":"docs","link":"https:\/\/getshortcodes.com\/docs\/parallax-section\/","title":{"rendered":"Parallax section"},"content":{"rendered":"<div class=\"block-demo block-demo-default\">\n\t<div class=\"block-demo-viewport\">\n\t\t<div class=\"sue-section sue-section-parallax\" data-url=\"\" data-target=\"blank\" style=\"margin:0px 0px 0px 0px;border-top:none;border-bottom:none\">\n<div class=\"sue-section-background\" style=\"background-color:#ffffff;background-position:left top;background-size:cover;background-image:url(&#039;https:\/\/getshortcodes.com\/wp-content\/uploads\/2017\/08\/section-bg.jpg&#039;);\"><\/div>\n<div class=\"sue-section-content su-u-trim\" style=\"padding:30px 0px 30px 0px;max-width:960px;text-align:center;color:#333333;text-shadow:0 1px 10px #ffffff\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tincidunt elit et eros commodo, laoreet iaculis risus lobortis. Ut eget cursus nisi. Maecenas egestas, nunc gravida rutrum porttitor, ante ligula luctus erat, non vehicula massa mauris et ante. Mauris a vulputate sapien. Aenean sagittis tellus vitae mi viverra, sed venenatis nibh fringilla. Suspendisse vel suscipit elit, vel ultricies sem. Suspendisse elementum risus ut efficitur feugiat.<\/div>\n<\/div>\n\t<\/div>\n\t<div class=\"block-demo-source\">\n\t\t<pre contenteditable=\"true\"><div class=\"sue-section sue-section-parallax\" data-url=\"\" data-target=\"blank\" style=\"margin:0px 0px 0px 0px;border-top:&quot;none&quot;;border-bottom:&quot;none&quot;\"><div class=\"sue-section-background\" style=\"background-color:#ffffff;background-position:left top;background-size:cover;background-image:url(&#039;&#039;);\"><\/div><div class=\"sue-section-content su-u-trim\" style=\"padding:30px 0px 30px 0px;max-width:960px;text-align:&quot;center&quot;;color:#333333;text-shadow:0 1px 10px #ffffff\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tincidunt elit et eros commodo, laoreet iaculis risus lobortis. Ut eget cursus nisi. Maecenas egestas, nunc gravida rutrum porttitor, ante ligula luctus erat, non vehicula massa mauris et ante. Mauris a vulputate sapien. Aenean sagittis tellus vitae mi viverra, sed venenatis nibh fringilla. Suspendisse vel suscipit elit, vel ultricies sem. Suspendisse elementum risus ut efficitur feugiat.<\/div><\/div><\/pre>\n\t<\/div>\n<\/div>\n\n\n\n<p class=\"has-black-color has-light-background-color has-text-color has-background\">This shortcode is available in <a href=\"\/pricing\/\">Shortcodes Ultimate Pro<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"description\">Description<\/h2>\n\n\n\n<p>This shortcode allows you to create content sections with parallax effect.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"options\">Options<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>Option name<\/th><th>Possible values<\/th><th>Default value<\/th><\/tr><tr><td><strong>background<\/strong><br><small>Section background color<\/small><\/td><td>#HEX color<\/td><td>#ffffff<\/td><\/tr><tr><td><strong>image<\/strong><br><small>Select background image for this section. Example value: http:\/\/lorempixel.com\/1200\/600\/abstract\/<\/small><\/td><td>The URL of uploaded file<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><tr><td><strong>background_position<\/strong><br><small>This option determines position of the background image<\/small><\/td><td>left top (Left Top)<br>center top (Center Top)<br>right top (Right Top)<br>left center (Left Center)<br>center center (Center Center)<br>right center (Right Center)<br>left bottom (Left Bottom)<br>center bottom (Center Bottom)<br>right bottom (Right Bottom)<\/td><td>left top<\/td><\/tr><tr><td><strong>fullwidth<\/strong><br><small>Set this option to Yes to stretch section to full page width (not just content part). This option requires single-column page template.<\/small><\/td><td>yes or no<\/td><td>no<\/td><\/tr><tr><td><strong>parallax<\/strong><br><small>Enable parallax effect. Parallax effect may not work in Live preview mode<\/small><\/td><td>yes or no<\/td><td>yes<\/td><\/tr><tr><td><strong>cover<\/strong><br><small>Enable cover mode for background image. Image will fit into the section<\/small><\/td><td>yes or no<\/td><td>yes<\/td><\/tr><tr><td><strong>max_width<\/strong><br><small>Maximum width for this section content (px)<\/small><\/td><td>Number from 0 to 1600<\/td><td>960<\/td><\/tr><tr><td><strong>margin<\/strong><br><small>Section margin (px), [top right bottom left]<\/small><\/td><td>Any text value<\/td><td>0px 0px 0px 0px<\/td><\/tr><tr><td><strong>padding<\/strong><br><small>Section padding (px), [top right bottom left]<\/small><\/td><td>Any text value<\/td><td>30px 0px 30px 0px<\/td><\/tr><tr><td><strong>border<\/strong><br><small>Top and bottom section borders<\/small><\/td><td>CSS border shorthand property<\/td><td>1px solid #cccccc<\/td><\/tr><tr><td><strong>color<\/strong><br><small>Section text color<\/small><\/td><td>#HEX color<\/td><td>#333333<\/td><\/tr><tr><td><strong>text_align<\/strong><br><small>Text alignment for panel content<\/small><\/td><td>left (Left)<br>center (Center)<br>right (Right)<\/td><td>left<\/td><\/tr><tr><td><strong>text_shadow<\/strong><br><small>Pick a shadow for section text<\/small><\/td><td>CSS box\/text-shadow shorthand property<\/td><td>0 1px 10px #ffffff<\/td><\/tr><tr><td><strong>url<\/strong><br><small>You can type here any hyperlink to make this section clickable<\/small><\/td><td>Any text value<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><tr><td><strong>target<\/strong><br><small>Choose link target<\/small><\/td><td>self (Open link in same window\/tab)<br>blank (Open link in new window\/tab)<\/td><td>blank<\/td><\/tr><tr><td><strong>class<\/strong><br><small>Additional CSS class name(s) separated by space(s)<\/small><\/td><td>CSS class name(s) separated by space(s)<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"has-small-font-size\">Photo by <a rel=\"noreferrer noopener\" href=\"https:\/\/unsplash.com\/@nevenkrcmarek\" target=\"_blank\">Neven Krcmarek<\/a><\/p>\n","protected":false},"featured_media":36679,"template":"","docs_category":[21],"class_list":["post-33988","docs","type-docs","status-publish","has-post-thumbnail","hentry","docs_category-shortcodes"],"_links":{"self":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs\/33988","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/types\/docs"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/media\/36679"}],"wp:attachment":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/media?parent=33988"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs_category?post=33988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}