-
AuthorPosts
-
Peter Matra Friend
Peter Matra
- Join date:
- September 2014
- Posts:
- 159
- Downloads:
- 54
- Uploads:
- 25
- Thanked:
- 9 times in 1 posts
May 4, 2012 at 9:16 pm #176734Hi,
I have a Category Blog layout set up for a site I am building. The images and layout are not being followed yet they are fine in the article.
You can see what I mean here: http://174.121.36.165/~tgagenet/index.php/strains
The text should be under the image. Not to the side.
I have seen others have this problem with other templates but never found a satisfactory solution to it.
Thanks
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 5, 2012 at 10:14 am #451554You remove the code from /templates/your_template/css/template.css
.blog-image .item .contentpaneopen {
padding-left: 250px;
}
And replace the code from template.css
.blog-image .article-image {
position: absolute;
top: 0;
left: 0;
}
with
.blog-image .article-image {
top: 0;
left: 0;
float: left;
}Peter Matra FriendPeter Matra
- Join date:
- September 2014
- Posts:
- 159
- Downloads:
- 54
- Uploads:
- 25
- Thanked:
- 9 times in 1 posts
May 5, 2012 at 6:23 pm #451629Thank you it seems to work now thanks.
Now it’s time to change the size of the thumbnails.
How do I get the thumbnail UNDER the title?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 6, 2012 at 7:34 am #451653You cut the code from /templates/ja_kranos/html/com_content/category/blog_item.php
<?php if ($image) : ?>
<div class="article-image">
<?php echo $image ?>
<?php if ($params->get('show_create_date')) : ?>
<span class="create">
<?php
$createDay = date('d', strtotime( $this->item->created ));
$createMonth = JText::_(strtoupper(date('F', strtotime( $this->item->created )))."_SHORT");
$createYear = date('Y', strtotime( $this->item->created ));
?>
<span class="date"><?php echo $createDay; ?></span>
<span class="month-year">
<span class="month"><?php echo $createMonth; ?></span>
<span class="year"><?php echo $createYear; ?></span>
</span>
</span>
<?php endif; ?>
</div>
<?php endif; ?>
and paste it before
<?php echo $this->item->introtext; ?>Peter Matra FriendPeter Matra
- Join date:
- September 2014
- Posts:
- 159
- Downloads:
- 54
- Uploads:
- 25
- Thanked:
- 9 times in 1 posts
May 6, 2012 at 11:13 pm #451726Thank you very much for your prompt responses.
I knew it had something to do with moving the code below the intro php. I didn’t notice it was lower…:eek:
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by Peter Matra 12 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
In Category Blog mode intro image is in wrong place
Viewing 5 posts - 1 through 5 (of 5 total)