-
AuthorPosts
-
April 23, 2011 at 3:13 pm #163142
Hi,
I use Ja_Rave and would like to desactivate the right position + crop option on images at the frontpage
Somebody know where is this option / or CSS ?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 23, 2011 at 5:54 pm #387756Hi,
Remove this code from <joomla url>/templates/ja_rave/css/template.css file
.blog-featured div.article-image {
top: -5px;
position: absolute;
right: 0px;
}
April 23, 2011 at 6:58 pm #387766Hi! Thank you very much for quick answer.
I removed http://img576.imageshack.us/img576/4279/code1.png
and I get http://img220.imageshack.us/img220/2513/resultat1.pngI try to removed more http://img97.imageshack.us/img97/8863/capturedcran20110423205.png
but every image go above article http://img33.imageshack.us/img33/8863/capturedcran20110423205.pngDo you know what can I do?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
April 23, 2011 at 7:08 pm #387771Can you post actual links so I can see what you are looking as becaus I cannot see the imageshack links you post.
A link to your site would be usefull along with details of whether you are using the J1.6 or J1.5 version of the template.
In the mean time I will move this thread to the JA Rave section of the forums.
April 23, 2011 at 7:14 pm #387772Hi!
Thank you. I think it’s better to use attachments 🙂
First I removed:
and get :
I try to remove more
and get (pictures above articles)
Web site is closed (under construction) but if you need to test go on http://medias.so with joomlart user/password. I used Joomla 1.5, T3 and JA_Rave (latest version for all without hack)
- Phill Moderator
Phill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
April 23, 2011 at 7:48 pm #387776What are you trying to achieve?
To remove the formatting from the layout of the frontpage open templates>ja_rave>html>com_content>frontpage>default_item.php and remove the code shown below.
<?php
//Get out all images
$regex = "/<img[^>]*>/";
$images = '';
if (preg_match_all ($regex, $this->item->text, $matches)) {
$this->item->text = preg_replace ($regex, '', $this->item->text);
$images = implode ("n", $matches[0]);
}
?><?php if ($images): ?>
<div class="article-image">
<div class="img_caption"><?php echo $images ?></div>
</div>
<?php endif; ?>It is different for different sections and different again if you are using K2.
1 user says Thank You to Phill for this useful post
April 23, 2011 at 9:30 pm #387787THANK YOU!! :-*
That’s exactly what I want. Excuse my english or if I was unclear (I’m french). I just wanted to see what I wrote in the backend without modifications and it’s ok now.
Thank you again!
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 3 voices, and was last updated by matthieub 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
How to desactivate crop and image position in frontpage?
Viewing 7 posts - 1 through 7 (of 7 total)