test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • nsca Friend
    #732267

    Hello, It is possible to add one column in the right of the main image in K2 Item Layout?

    This is what I have:

    As you can see, the item image is too big, details of the product are difficult to find because are too small in comparsion of the image.

    I want something more balanced, like divide the space in 6 – 6 (now is 10-2) and use the right column for modules, extra fields, etc.

    this is an idea of what i want:

    Adam M Moderator
    #754490

    Hi @nsca,

    Since it’s belong to customization task, I’m afraid that we cannot assist you any further but here’s something that you can have a look.

    1. Please open file templatesja_directoryhtmlcom_k2directoryitem.php and look for this code (around line 140) :

    <div class="col event-main col-sm-8 col-md-9">

    change it to reduce main body width :

    <div class="col event-main col-sm-6">

    and look for this line (around line 588) :

    <aside class="col t3-sidebar directory-aside col-sm-4 col-md-3">

    then adjust it to increase sidebar width :

    <aside class="col t3-sidebar directory-aside col-sm-6">

    2. In case you want to move the intro and full text around, the declaration for that block begin from line 275 :

    <?php if(!empty($this->item->fulltext)): ?>
    <?php if($this->item->params->get('itemIntroText')): ?>

    and end up at line 293 :

    <div class="itemFullText">
    <?php echo $this->item->introtext; ?>
    </div>
    <?php endif; ?>

    nsca Friend
    #754546

    Thank you Adam! Ill try that!

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  nsca 9 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum