Hi, is it possible to have text wrap the featured image on the portfolio item page. At the moment the text sits to the right in a very long column.
Thanks
Hello Sarah,
Thanks for writing in!
The portfolio featured image is positioned to the left side and the contents is on the right side. To make them fullwidth, please add the following CSS code in the X > Theme Options > Global CSS (http://prntscr.com/evui3r)
.single-x-portfolio .entry-featured,
.single-x-portfolio .entry-wrap {
width: 100%;
float: none;
}
Putting the featured image wrap around the text would require template modifications. You may need to add this custom JS to do that:
(function($){
$('.single-x-portfolio .entry-featured').prependTo('.single-x-portfolio .entry-content.content');
})(jQuery);
And then you’ll also need this custom css:
.single-x-portfolio .entry-featured {
max-width: 400px;
float: left;
margin-right: 50px;
}
We would loved to know if this has work for you. Thank you.
Perfect. Thank you!
You’re welcome, Sarah.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.