-
AuthorPosts
-
May 24, 2009 at 2:49 am #141417nguyenhuu quang Friend
nguyenhuu quang
- Join date:
- September 2014
- Posts:
- 1087
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 29
- Thanked:
- 328 times in 288 posts
May 24, 2009 at 3:02 am #305709send your live site
May 24, 2009 at 3:24 am #305715Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 24, 2009 at 10:11 am #305744You mean something like I have done here?
http://windwisedev.net.testing.windsurf.vm.bytemark.co.uk/
It involves modifying a little php and some css.
First you need to open templates>ja_quartz>html>com_content>frontpage>default_item.php
find the code
global $mainframe;
$imageWidth = 70;
$imageHeight = 70;and change the figures in red to the desired dimensions of your image.
Then, to remove the date find the following and remove it.
<div class="article-meta">
<?php if ($this->item->params->get('show_create_date')) : ?>
<span class="createdate">
<?php echo JHTML::_('date', $this->item->created, '%a - %d <span class="month">%b</span>'); ?>
</span>
<?php endif; ?></div>
Once we have done that we need to adjust a couple of bits of css to reposition the image and text to make it look nice and neat.
Open templates>ja_quartz>css>template.css
Find
/* Override fontpage */
.contentpaneopen_fp {
position: relative;
padding-left: 70px;
}The 70px shifts the image to the right to make room for the date, as you are not using the date, set this to 0px
Next you will need to reposition your text box so find.
.contentpaneopen_fp .ja-innerpad {
padding-left: 88px;
min-height: 100px;
}
and adjust the figure in red as required. As I do not know the size of your image I cannot give an exact figure here but 18-20px larger than your image is about right. So, if you set an image width of 120px in the first stage then set 138px here.
Hope that helps.
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 3 voices, and was last updated by Phill 15 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How can resize the image _fp.
Viewing 4 posts - 1 through 4 (of 4 total)