T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Eugen
  2. General Discussion
  3. Saturday, 19 April 2014
  4.  Subscribe via email
Hi,

is there a way to put article image intro into article header?

See the pictures to understand what i mean.

Thanks.
Attachments (2)
Comment
There are no comments made yet.
Accepted Answer
Accepted Answer Pending Moderation
0
Votes
Undo
My solution for all who need it.


<script type="text/javascript">
(function($){
$(document).ready(function() {
$(".article-intro > .article-image-intro > img").each(function(index) {
$(this).prependTo(".item:eq("+index+") .article-header > h2");
$(".article-image-intro").remove();
});
});
})(jQuery);
</script>


Now just add your into image to article. Thats all. Of course you need some css but it works like a charm.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # Permalink


There are replies in this post but you are not allowed to view the replies from this post.