Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • James Weston Friend
    #207173

    Hi Guys,

    this looks like an interesting template with some good options. I uploaded it to a domain to have a play with it and wondered what I had done to get the alignment out of place on the extra fields I added here http://www.millionaireasia-indonesia.com/index.php/restaurant/item/75-arthur-treacher-s-fish-chips

    On the www line the web address is returned to the line below which makes no sense as it is shorter in length than the email address below it.

    Any ideas.

    Also as I don’t need the rating section and will be disabling it on every page is it possible to clear the blank section it has left and move the location information across as this will give more space for longer addresses and web addresses.

    Many thanks Jim

    Css Magician Friend
    #573670

    You can try to open file templates/ja_directory/html/com_k2/directory/item.php, remove


    <div class="col col-md-4 col-lg-3 k2rating">
    <?php if($this->item->params->get('itemRating')): ?>
    <!-- Item Rating -->
    <div class="itemRatingBlock">
    <span><?php echo JText::_('K2_RATE_THIS_ITEM'); ?></span>
    <div class="itemRatingForm">
    <ul class="itemRatingList">
    <li class="itemCurrentRating" id="itemCurrentRating<?php echo $this->item->id; ?>" style="width:<?php echo $this->item->votingPercentage; ?>%;"></li>
    <li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_1_STAR_OUT_OF_5'); ?>" class="one-star">1</a></li>
    <li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_2_STARS_OUT_OF_5'); ?>" class="two-stars">2</a></li>
    <li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_3_STARS_OUT_OF_5'); ?>" class="three-stars">3</a></li>
    <li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_4_STARS_OUT_OF_5'); ?>" class="four-stars">4</a></li>
    <li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_5_STARS_OUT_OF_5'); ?>" class="five-stars">5</a></li>
    </ul>
    <div id="itemRatingLog<?php echo $this->item->id; ?>" class="itemRatingLog"><?php echo $this->item->numOfvotes; ?></div>
    <div class="clr"></div>
    </div>
    <div class="clr"></div>
    </div>
    <?php endif; ?>
    </div>

    Then search and replace
    <div class="col col-md-8 col-lg-6 k2title">
    with
    <div class="col col-md-12 col-lg-6 k2title">

    replace
    <div class="col col-md-12 col-lg-3 k2extraFields">
    with
    <div class="col col-md-12 col-lg-4 k2extraFields pull-right">

    Css Magician Friend
    #738684

    You can try to open file templates/ja_directory/html/com_k2/directory/item.php, remove


    <div class="col col-md-4 col-lg-3 k2rating">
    <?php if($this->item->params->get('itemRating')): ?>
    <!-- Item Rating -->
    <div class="itemRatingBlock">
    <span><?php echo JText::_('K2_RATE_THIS_ITEM'); ?></span>
    <div class="itemRatingForm">
    <ul class="itemRatingList">
    <li class="itemCurrentRating" id="itemCurrentRating<?php echo $this->item->id; ?>" style="width:<?php echo $this->item->votingPercentage; ?>%;"></li>
    <li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_1_STAR_OUT_OF_5'); ?>" class="one-star">1</a></li>
    <li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_2_STARS_OUT_OF_5'); ?>" class="two-stars">2</a></li>
    <li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_3_STARS_OUT_OF_5'); ?>" class="three-stars">3</a></li>
    <li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_4_STARS_OUT_OF_5'); ?>" class="four-stars">4</a></li>
    <li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_5_STARS_OUT_OF_5'); ?>" class="five-stars">5</a></li>
    </ul>
    <div id="itemRatingLog<?php echo $this->item->id; ?>" class="itemRatingLog"><?php echo $this->item->numOfvotes; ?></div>
    <div class="clr"></div>
    </div>
    <div class="clr"></div>
    </div>
    <?php endif; ?>
    </div>

    Then search and replace
    <div class="col col-md-8 col-lg-6 k2title">
    with
    <div class="col col-md-12 col-lg-6 k2title">

    replace
    <div class="col col-md-12 col-lg-3 k2extraFields">
    with
    <div class="col col-md-12 col-lg-4 k2extraFields pull-right">

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

This topic contains 3 replies, has 2 voices, and was last updated by  Css Magician 8 years, 10 months ago.

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