-
AuthorPosts
-
April 27, 2011 at 12:11 am #163258
I would like to know how to make images look normal in the front page, becouse i dont like the Thumbnail in the articles in front page.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
April 27, 2011 at 1:53 am #388431Try adding this css to this File templates/ja_rave/css/template.css
.img_caption img {
height: 120px !important;
width: 120px !important;
background-color: #F2F2F2;
border: 1px solid #DDDDDD;
padding: 4px;
}Note: If you Find my Post useful please click on the Thanks Icon
April 27, 2011 at 2:32 am #388436Thks but no, what I want is that the images look normal on the front page, also in the articles I want them to look normal, not at the right corner.
Or how can I put the images at center of the article with no text arround.:confused:
I want them to look like in the article editor, but the template change the position of the images.
-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 27, 2011 at 2:55 am #388440Chavan’s solution would keep the images in proper size.
<blockquote>Or how can I put the images at center of the article with no text arround.</blockquote>
You meant on front page or article page?chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
April 27, 2011 at 3:02 am #388443you can change the layouts in this file templatesja_ravehtmlcom_contentfrontpagedefault_item.php
Note: If you Find my Post useful please click on the Thanks Icon
April 27, 2011 at 4:06 am #388453I do not understand, I have little knowledge in PHP.
April 27, 2011 at 9:35 pm #388653I tried the solution given by Chavan but did not work, I dont want the images be resized.
As I can see, the template only takes the images and place them at floating right of the articles, I want the images like in the editor of articles, but the template relocate them, not just on the main page but also in the articles , I mean, I like that the template does not relocate the images of the articles, I want that the template leave alone the images in articles.
April 28, 2011 at 4:45 am #388701OK, problem solved, maybe I was not clear with the request but I solved my problem.
What I did was to make the steps in the following link:
http://www.joomlart.com/forums/topic/how-to-desactivate-crop-and-image-position-in-frontpage/
I removed also the next code from templates/ja_rave/css/template.css[PHP]div.article-image {
top: 0px;
position: absolute;
right: 5px
}div.article-image .img_caption {
width: 125px;
height: 125px;
float: right;
margin-left: 10px;
}[/PHP]
and this too in the same template.css
[PHP].ja-box-ct p .img, .article-content p img {
border: solid 1px #ddd;
padding: 4px;
float: right;
margin-left: 20px;
background: #f2f2f2;
}[/PHP]This is the result: http://www.movilslimbox.com/
Thank you all.
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by elessar2006 13 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum