Hi there,
Thanks for posting in.
What do you mean by image should be encapsulated in the text? The sample URL has its image on top, and the title on left. Are you referring to the title and it should move and wrap to the image, then body text under the image? That’s possible. Please add this CSS to your global custom CSS
@media ( min-width: 980px ) {
.single-x-portfolio .entry-featured {
float: none;
padding-right: 0px;
width: 100%;
}
.single-x-portfolio .entry-wrap {
float: right;
width: 100%;
}
.single-x-portfolio .entry-featured .entry-thumb {
width: 50%;
float: right;
}
.single-x-portfolio .entry-featured .h-landmark {
display: block;
width: 45%;
float: left;
}
.single-x-portfolio .entry-featured:after {
content: "";
display: block;
width: 100%;
clear: both;
}
}
Then add this code to your global custom javascript
jQuery( function($) {
if ( $(window).width() > 979 ) {
$('.single-x-portfolio h1.h-landmark').prependTo( '.entry-featured' );
}
} );
Hope this helps.