Website Summary Files Commits Branches @commit @diff @stats
path: root / wp-content / themes / carmag / snippets / section-heading.php
blob: 74626bc549f9f32f5ea761836daad67c0002a4a4 (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
<?php
/**
 * Heading markup for sections
 *
 * @since  CarMag v1.2.0
 * @uses  assets/sass/prebuilds/_section-heading.scss
 */
?>

<?php
/**
 * Use in .row element at best.
 * modifers:
 * 		.align-left
 * 		.align-right
 */
?>
<header class="section-heading">
	<span class="heading-label">Small label</span>
	<h2 class="heading-title">This is the section's heading</h2><!-- .heading-title -->
	<span class="heading-subtitle">And this is smaller text under that</span>
	<p class="heading-subtext">Under which you can even add parahraph with more text</p><!-- .heading-subtext -->
</header><!-- .flex-grid-wrapper -->