Website Summary Files Commits Branches @commit @diff @stats
path: root / wp-content / themes / carmag / snippets / section-halfsplit.php
diff options
context:
space:
mode:
Commitb5ff668df547b07b4341d07669cb052cd31cf11e (patch)
Author
 metodiew <stanko@metodiew.com>
2020-07-01 16:52:45 +0300
Committer
 metodiew <stanko@metodiew.com>
2020-07-01 16:52:45 +0300
Files208fb4201480148f45cc84151bb902b3371cc12e /wp-content/themes/carmag/snippets/section-halfsplit.php
tues-interns-2020-b5ff668df547b07b4341d07669cb052cd31cf11e.tar
tues-interns-2020-b5ff668df547b07b4341d07669cb052cd31cf11e.tar.gz
tues-interns-2020-b5ff668df547b07b4341d07669cb052cd31cf11e.zip
Parent93b8cb35070e98c49f101162d096e61799fc8cf3 (diff)
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.php40
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>