Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • APOSTOLOS FOUKIS Friend
    #206161

    Hello,
    I use J 3.4.1 and ja uber template.
    Each article has no image (Images and links => Intro image = blank) but empty space appears on the home page.

    I want the text of each article to spread to the left.
    Is it possible?
    Thanks


    1. images2
    2. no_image
    Saguaros Moderator
    #569853

    Hi basdim,

    You can try with my tweak as below:
    – Go to file: ROOT\templatesuberhtmlcom_contentfeatureddefault.php
    – Look for this snippet of code (at approx line 30):

    <div class="col-sm-4">
    <?php echo JLayoutHelper::render('joomla.content.intro_image', $this->item); ?>
    </div>

    <div class="col-sm-8">
    <?php if ($params->get('show_title')) : ?>
    <?php echo JLayoutHelper::render('joomla.content.item_title', array('item' => $this->item, 'params' => $params, 'title-tag'=>'h2')); ?>
    <?php endif; ?>

    change it to:


    <?php if (isset($images->image_intro) && !empty($images->image_intro)) : ?>
    <div class="col-sm-4">
    <?php echo JLayoutHelper::render('joomla.content.intro_image', $this->item); ?>
    </div>
    <?php endif; ?>
    <div class="col-sm-8">
    <?php if ($params->get('show_title')) : ?>
    <?php echo JLayoutHelper::render('joomla.content.item_title', array('item' => $this->item, 'params' => $params, 'title-tag'=>'h2')); ?>
    <?php endif; ?>

    Saguaros Moderator
    #734935

    Hi basdim,

    You can try with my tweak as below:
    – Go to file: ROOT\templatesuberhtmlcom_contentfeatureddefault.php
    – Look for this snippet of code (at approx line 30):

    <div class="col-sm-4">
    <?php echo JLayoutHelper::render('joomla.content.intro_image', $this->item); ?>
    </div>

    <div class="col-sm-8">
    <?php if ($params->get('show_title')) : ?>
    <?php echo JLayoutHelper::render('joomla.content.item_title', array('item' => $this->item, 'params' => $params, 'title-tag'=>'h2')); ?>
    <?php endif; ?>

    change it to:


    <?php if (isset($images->image_intro) && !empty($images->image_intro)) : ?>
    <div class="col-sm-4">
    <?php echo JLayoutHelper::render('joomla.content.intro_image', $this->item); ?>
    </div>
    <?php endif; ?>
    <div class="col-sm-8">
    <?php if ($params->get('show_title')) : ?>
    <?php echo JLayoutHelper::render('joomla.content.item_title', array('item' => $this->item, 'params' => $params, 'title-tag'=>'h2')); ?>
    <?php endif; ?>

    APOSTOLOS FOUKIS Friend
    #569864

    i try it but now has blank space to the right of the text.
    Ηow to spread the text to fill the space?
    Thanks


    1. right_blank_space
    APOSTOLOS FOUKIS Friend
    #734946

    i try it but now has blank space to the right of the text.
    Ηow to spread the text to fill the space?
    Thanks

    Saguaros Moderator
    #570060

    You can PM me URL and admin login info of your site, I will take a look

    Saguaros Moderator
    #735132

    You can PM me URL and admin login info of your site, I will take a look

    Saguaros Moderator
    #570329

    You can go to file: ROOT/templates/uber/css/custom.css (create this file if it doesn’t exist)

    and add this rule:


    .blog-featured .items-leading .col-sm-8, .blog-featured .items-row .col-sm-8 {
    width: 100%;
    }

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

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

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