test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • max_santiago Friend
    #794139

    Hallo,
    where is possible set better padding about:

    A. Homepage article image in homepage;
    B. Images contents into sidebar position.

    I attach image.
    Url is: http://www.konsumer.it

    Thanks!

    M.


    1. spazio-img
    Adam M Moderator
    #804940

    Hi @max_santiago,

    1. I checked your site and see that you managed to solve the problem in sidebar.

    2. About the featured article in main body. Normally, the thumbnail has 3 variations : big, medium and small, the size here is big.

    In JA Teline V, we implemented a function to specify image thumbnail in admin >>> System >>> Global Configuration >>> choose Articles on left sidebar >>> Shared >>> currently, your big image dimension is 785×385 which mean the ratio for width:height should be 2:1.

    In case the container is look like a square box in your frontend, the image is scaled and show a grey box inside it. You can try open file templates/ja_teline_v/css/custom.css (if you don’t have this file, just create a new one) then add this code :

    .magazine-featured .item-image img,
    .magazine-featured .pull-left.item-image img,
    .magazine-featured .pull-right.item-image img,
    .magazine-featured .img_caption {
        width: auto !important;
        max-width: none;
    }
    max_santiago Friend
    #805510

    Hey Adam M, thanks for your reply and solution.

    About issue #1 in sidebar now I have only a module with some images :-D, but I haven’t solved this problem but with this simple and working ‘trick’…

    For #2, I have copied your solution in custom.css… and it solve my image problem in homepage but… sincerly I don’t like it! 🙂 I prefer 2×1 ratio: with your suggest it is 785×512 and too much ‘fat’ 🙂
    also now, preview image is a little different by same image in the article (text proportion etc…)

    Is not possible to eliminate original padding and view correct ratio with your custom.css code?

    Thanks!

    M.

    Adam M Moderator
    #812457

    Hi @max_santiago,

    1. Try to reproduce the problem with images in sidebar so I can check and suggest you how to fix it.

    2. Actually the solution above is best way to make the featured image look acceptable. About the image ratio, the current dimension of your featured "viewport" is 590×385 (width x height) which is around 1.5:1 so you must have featured image with the same ratio, for example :
    • Assuming you have an image and the width is 700px, using above ratio, you must crop the image height to 466px.
    • Assuming you have an image and the height is 500px, using above ratio, your image should have width around 750px;
Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Adam M 9 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum