Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • Danar Friend
    #833941

    Base on the template sample data, I used image for every article with the size of 800×600 px. But the image in the "leading article" and "full article" was automatically croped as show as attach.

    What’s the exact match image size for article ? Thanks for help


    1. leading
    2. jalan-sehat-rw2-gedawang-2
    Pankaj Sharma Moderator
    #834469

    Hi
    All the images are auto re sized according to the container size . For the leading item the image size is defined to it will fit properly . Add below code in custom.css file and increase the value of height as per you needs .

    .magazine-featured-leading .magazine-item-media .item-image {
        max-height: 384px!important;
    }

    increase value of max-height .

    Danar Friend
    #834813

    where is the custom.css file are located?
    I can’t found the css file name "custom"

    Pankaj Sharma Moderator
    #834831

    You need to create custom.css file in the /css folder of your template .
    /templates/ JA Teline V/css/ custom.css If file not there create it and add the code.

    Danar Friend
    #835439

    I was created custom.css and add these code and change to 600px, but the frontpage was unchange.


    1. custom1
    2. custom2
    3. custom3
    Pankaj Sharma Moderator
    #835552

    Hi KIndly add a dot . in starting as given in previous code .
    add this code

    .magazine-carousel .magazine-item-media .item-image { height: 500px!important; }
    

    change height as per needs . It will work .

    Danar Friend
    #836284

    Yes, It’s work on the leading article in homepage, but when user click image to read full article.
    the image still croped.
    How to syncronise image size between leading article and full article?


    1. imagefullarticle
    Pankaj Sharma Moderator
    #836292

    Hi
    Use this code in custom.css file and define new height

    .article-intro-media .item-image {
        max-height: 384px!important;
    }

    Happy New Year !

    Danar Friend
    #836297

    Ok, when I did’t changed image size in custom.css,
    Is the default height image is 384px?
    Is the default width image is 800px?
    so, exact match image size for article is 800x384px,
    Is’t it?

    Pankaj Sharma Moderator
    #836308

    Hi the width of image is 100% and change size according to the container width .
    The height is defined manually so u can set a max height to show full image .

    Danar Friend
    #836369

    Ok thanks.
    Clear, Fix.

Viewing 11 posts - 1 through 11 (of 11 total)

This topic contains 10 replies, has 2 voices, and was last updated by  Danar 8 years, 4 months ago.

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