Website Summary Files Commits Branches @commit @diff @stats
path: root / wp-content / themes / carmag / snippets / section-halfsplit.php
blob: b53c1e7e4df536cc3b6c9d2bacf74c47d22844d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
 * Box with image on one side and box with content on the other
 *
 * @since  CarMag 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>