-
AuthorPosts
-
December 29, 2015 at 11:08 am #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
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 30, 2015 at 3:13 am #834469Hi
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 .
December 30, 2015 at 11:05 am #834813where is the custom.css file are located?
I can’t found the css file name "custom"Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 30, 2015 at 11:25 am #834831You 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.December 30, 2015 at 10:54 pm #835439I was created custom.css and add these code and change to 600px, but the frontpage was unchange.
- Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 31, 2015 at 2:16 am #835552Hi 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 .
January 1, 2016 at 12:48 am #836284Yes, 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?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 1, 2016 at 1:19 am #836292Hi
Use this code in custom.css file and define new height.article-intro-media .item-image { max-height: 384px!important; }
Happy New Year !
January 1, 2016 at 1:37 am #836297Ok, 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 ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 1, 2016 at 1:43 am #836308Hi 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 .January 1, 2016 at 6:32 am #836369Ok thanks.
Clear, Fix.AuthorPostsViewing 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
Jump to forum
-
What's exact match image size on article
Viewing 11 posts - 1 through 11 (of 11 total)