-
AuthorPosts
-
September 22, 2016 at 9:42 am #970162
Dear all,
My blog look good, see here
https://www.pustakakomputer.co.id/blog/
But, when I go to the full text article [ READ MORE ], the layout go crazy like here
https://www.pustakakomputer.co.id/blog/liputan-media/pelindo-dukung-pelatihan-pembuatan-website-umkm
Problem, how to set/resize the image in full text article blog?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 22, 2016 at 4:03 pm #970261Hi
the image size for the article is 799×799 , the article image use 100% width . At this time is the max. width of the image > http://prntscr.com/cl38vv
You can add a big size image to fill the whole width .September 22, 2016 at 11:04 pm #970323I want to use half width as show in my screenshot before.
Can I set the the custom dimension for this image?Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 23, 2016 at 3:15 am #970371Hi
If you want to set a max width for the articles add below code in custom.css file
and change the value of width as per your needs.item-page .item-image img { max-width: 600px!important; }
default value was 100%
September 23, 2016 at 7:26 am #970422It’s Ok.
And then I add 15px of padding right.
Problem found in caption border. It’s go out from vertical image line.
What code I should add to manipulate the caption border in the good looking place.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 23, 2016 at 8:15 am #970451Hi
you can apply the max-width on caption style classes.img_caption p.img_caption { max-width: 436px; }
September 23, 2016 at 8:55 am #970465It’s work.
And then the space between bottom caption border and the text below are too height. How to reduce them to 15px?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 25, 2016 at 3:19 am #970742Hi
add this code in custom.css file and reduce the space as per needs.item-page .item-image, .item-page .img_caption { margin-bottom: 25px!important; }
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 7 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum