Align the media in different positions, horizontally and vertically (it’s aligned left by default in LTR languages, and vertically centered).
Apply these classes to the media container (mzp-c-split-media
):
mzp-l-split-h-center
- horizontally centered.mzp-l-split-h-end
- aligned right in left-to-right languages, left in right-to-left.mzp-l-split-v-start
- vertically aligned to the top.mzp-l-split-v-end
- vertically aligned to the bottom.mzp-l-split-media-overflow
or mzp-l-split-media-constrain-height
class.
<section class="mzp-c-split ">
<div class="mzp-c-split-container">
<div class="mzp-c-split-body ">
<h1 class="mzp-u-title-md">Lorem ipsum dolor sit amet</h1>
<p>Lorem ipsum dolor sit amet, amet dolores tincidunt te sea. His aliquid epicuri detraxit in, cum tantas populo periculis te. Ei vix idque noster.</p>
<p><button class="mzp-c-button" type="button">Call to action</button></p>
</div>
<div class="mzp-c-split-media mzp-l-split-h-end mzp-l-split-v-end">
<img class="mzp-c-split-media-asset" src="../../img/image-1-1-sm.jpg" alt="">
</div>
</div>
</section>