diff options
Initial commit of our new Car Mag theme, using DX Starter as a base theme
1 files changed, 40 insertions, 0 deletions
| -rw-r--r-- | wp-content/themes/carmag/snippets/section-halfsplit.php | 40 |
diff --git a/wp-content/themes/carmag/snippets/section-halfsplit.php b/wp-content/themes/carmag/snippets/section-halfsplit.php new file mode 100644 index 0000000..1951eb9 --- /dev/null +++ b/wp-content/themes/carmag/snippets/section-halfsplit.php @@ -0,0 +1,40 @@ +<?php +/** + * Box with image on one side and box with content on the other + * + * @since DX Starter v1.2.0 + * @uses assets/sass/prebuilds/_section-halfsplit.scss + */ +?> + +<?php +/** + * Left and right boxes. Can be used inside or outside of .row + * modifers: + * .image-right + * .image-left (default) + * .row - will limit to box size + */ +?> + +<section class="section-fullwidth section-halfsplit"> + <div class="section-image product-preview" style="background-color: #FFA5A5;"> + <img src="http://fireclip.tv/wp-content/uploads/2014/07/laptop-mockup.png" alt="Theme - Masonry"> + </div><!-- .image --> + <div class="section-content"> + <h3>Hello world</h3> + <p>We have co-organized WordCamps, meetups and Contributor Days around the world, participated in debates and round tables regarding the future of CMS and WordPress.</p> + <strong><a href="#">View theme</a></strong> + </div><!-- .content --> +</section> + +<section class="section-fullwidth section-halfsplit image-right"> + <div class="section-image product-preview" style="background-color: #FFA5A5;"> + <img src="http://fireclip.tv/wp-content/uploads/2014/07/laptop-mockup.png" alt="Theme - Masonry"> + </div><!-- .image --> + <div class="section-content"> + <h3>Hello world</h3> + <p>We have co-organized WordCamps, meetups and Contributor Days around the world, participated in debates and round tables regarding the future of CMS and WordPress.</p> + <strong><a href="#">View theme</a></strong> + </div><!-- .content --> +</section> |
