Need add text wrap in news category page and item page

Advanced newspaper or magazine Joomla template to build news website with unique and detailed design.
GK User
Wed Jan 16, 2013 9:45 am
Hello,

I need add text wrap in news item page. Please check the attach image.

Thank You
User avatar
Senior Boarder

Konrad M
Wed Jan 16, 2013 11:38 am
Hi,
can you explain a little more ?
User avatar

GK User
Wed Jan 16, 2013 12:12 pm
Thank you for your reply.

Category page and article full view page text appear under the image. I need to text wrap like my screens.

This is my demo site :

Category view
http://181.224.154.105/~lakpuvat/index.php/news-news

Item View
http://181.224.154.105/~lakpuvat/index. ... A%E0%B6%AF?

Thank You
User avatar
Senior Boarder

Konrad M
Wed Jan 16, 2013 12:17 pm
Please add to override.css
Code: Select all
.itemImageBlock {
float: left !important;
}

and remember to enable override.css option in template settings.
User avatar

GK User
Wed Jan 16, 2013 5:37 pm
Hello Konrad,

Thank You. It's work but text wrap work category news items only. I need same thing on the article full view page. Please check the below link

http://181.224.154.105/~lakpuvat/index. ... s/item/196


Thank for a great support.
User avatar
Senior Boarder

GK User
Thu Jan 17, 2013 9:07 am
any help....
User avatar
Senior Boarder

Konrad M
Thu Jan 17, 2013 9:34 am
In item view you have to edit file html/com_k2/templates/default/item.php . You have to move itemBody next to image and add to override.css
Code: Select all
.itemImage {
float:left;
}
User avatar

GK User
Thu Jan 17, 2013 10:22 am
Can you please explain little bit more ?

Thank you
User avatar
Senior Boarder

Konrad M
Thu Jan 17, 2013 10:40 am
Please try find:
Code: Select all
<div class="itemBody">
                  <?php echo $this->item->event->BeforeDisplayContent; ?> <?php echo $this->item->event->K2BeforeDisplayContent; ?>
                  <?php if(!empty($this->item->fulltext)): ?>
                  <?php if($params->get('itemIntroText')): ?>
                  <div class="itemIntroText">
                           <?php echo $this->item->introtext; ?>
                  </div>
                  <?php endif; ?>
                  <?php endif; ?>
                  <?php if($params->get('itemFullText')): ?>
                  <div class="itemFullText">
                           <?php echo (!empty($this->item->fulltext)) ? $this->item->fulltext : $this->item->introtext; ?>
                  </div>
                  <?php endif; ?>
                  <?php echo $this->item->event->AfterDisplay; ?> <?php echo $this->item->event->K2AfterDisplay; ?>
         </div>

cut it and paste before:
Code: Select all
if(
            $params->get('itemPrintButton') ||
            $params->get('itemEmailButton') ||
            $params->get('itemSocialButton') ||
            $params->get('itemVideoAnchor') ||
            $params->get('itemImageGalleryAnchor') ||
            $params->get('itemHits') ||
            $params->get('itemCategory') ||
            $params->get('itemTags') ||
            $params->get('itemRating')
         ) :
      ?>
User avatar

GK User
Thu Jan 17, 2013 11:27 am
Great !!! It' work. Thank you for your help. :)
User avatar
Senior Boarder


cron