Website Summary Files Commits Branches @commit @diff @stats
path: root / wp-content / themes / carmag / snippets / section-hero.php
blob: 98dd5153c16000328036a45e6cb3004550372bc6 (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
<?php
/**
 * Hero section with large background image and overlay text
 *
 * @since  CarMag v1.2.0
 * @uses  assets/sass/prebuilds/_section-hero.scss
 */
?>

<?php
/**
 * Use in .row element at best.
 * modifers:
 * 		...
 */
?>
<section class="section-fullwidth section-hero">
	<div class="section-content">
		<div class="row">
			<div class="column">
				<h2>Test You can write your title in here.</h2>
				<p>I’ve been playing around with a camera for almost 8 years now. I first grabbed a camera when I was in senior year of high school. Now I’m done with college and am currently in medical school and to this day, many people don’t get why I do it.</p>
			</div><!-- .column -->
		</div><!-- .row -->
	</div><!-- .section-content -->
	<div class="responsive-image ratio-16-9">
		<img src="https://images.unsplash.com/photo-1430965914765-930206c18c13?dpr=1.7999999523162842&auto=format&fit=crop&w=1199&h=674&q=80&cs=tinysrgb&crop=" alt="Hero image background" />
	</div><!-- .responsive-image -->
</section><!-- .section-hero -->