Code: Select all
<style>.home-promo-inner.pc
{
text-align: left;
position: absolute;
bottom: 40px;
left: 0px;
z-index:1;
width: 45%;
}
.home-promo-inner
{
text-align: left;
position: absolute;
top: 40px;
left: 0px;
z-index:1;
width: 45%;
}
.home-promo-inner.home
{
text-align: center;
position: absolute;
top: 40px;
left: 30%;
z-index:1;
width: 39%;
}</style>Code: Select all
<div class='home-promo-others'>
<div class='home-promo-inner pc'>
<h1>title here</h1>
<h3>sub title here</h3>
<p>paragraph text here.</p>
</div>
<img
srcset='/images/homeg_475.jpg 475w,
/images/home_768.jpg 768w,
/images/home_1024.jpg 1024w,
/images/home.jpg 1920w,
/images/home.jpg 2560w'
src='/images/home.jpg' alt='alt here' />
</div>