-
AuthorPosts
-
APOSTOLOS FOUKIS Friend
APOSTOLOS FOUKIS
- Join date:
- December 2008
- Posts:
- 170
- Downloads:
- 137
- Uploads:
- 36
- Thanks:
- 54
- Thanked:
- 1 times in 1 posts
May 7, 2015 at 12:47 pm #206161Hello,
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-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 8, 2015 at 4:18 am #569853Hi 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 8, 2015 at 4:18 am #734935Hi 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 FriendAPOSTOLOS FOUKIS
- Join date:
- December 2008
- Posts:
- 170
- Downloads:
- 137
- Uploads:
- 36
- Thanks:
- 54
- Thanked:
- 1 times in 1 posts
May 8, 2015 at 7:23 am #569864i try it but now has blank space to the right of the text.
Ηow to spread the text to fill the space?
Thanks
APOSTOLOS FOUKIS FriendAPOSTOLOS FOUKIS
- Join date:
- December 2008
- Posts:
- 170
- Downloads:
- 137
- Uploads:
- 36
- Thanks:
- 54
- Thanked:
- 1 times in 1 posts
May 8, 2015 at 7:23 am #734946i try it but now has blank space to the right of the text.
Ηow to spread the text to fill the space?
ThanksSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 11, 2015 at 1:14 am #570060You can PM me URL and admin login info of your site, I will take a look
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 11, 2015 at 1:14 am #735132You can PM me URL and admin login info of your site, I will take a look
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 12, 2015 at 2:52 pm #570329You 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%;
}
1 user says Thank You to Saguaros for this useful post
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 2 voices, and was last updated by Saguaros 9 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum