test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • elessar2006 Friend
    #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 Friend
    #388431

    Try 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

    elessar2006 Friend
    #388436

    Thks 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.


    1. Image-in-front-page
    2. Image-in-article-editor.
    Ninja Lead Moderator
    #388440

    Chavan’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 Friend
    #388443

    you 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

    elessar2006 Friend
    #388453

    I do not understand, I have little knowledge in PHP.

    elessar2006 Friend
    #388653

    I 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.

    elessar2006 Friend
    #388701

    OK, 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.

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