Tagged: features image, thumbnail
- This topic has 5 replies, 3 voices, and was last updated 3 years, 9 months ago by Theme Horse Support Team.
-
AuthorPosts
-
June 29, 2020 at 3:02 pm #79016jakariaahmed118477Participant
I want to set this(3:4 ratio) type of full image in the centre of thumbnail. How I can do it? Help me…
June 30, 2020 at 1:09 pm #79034Theme Horse Support TeamKeymasterHi there,
Can you please clarify what do you meant by full image in the centre of thumbnail? Are you asking to modify the size of thumbnail ratio size to 3:4?
Thank you!
June 30, 2020 at 2:40 pm #79035jakariaahmed118477Participant<img src="http://ismartshop.cf/20200630_192338/" alt="img" />
<img src="http://ismartshop.cf/20200630_192737/" alt="img" />
<img src="http://ismartshop.cf/20200630_193950/" alt="img" />
Now, I hope you can understand.June 30, 2020 at 2:51 pm #79039Theme Horse Support TeamKeymasterHi there,
We recommended you to use the image size with 800px X 480px size and your image will be perfect seen into thumbnail section.
Hope this will help you.Thank you!
June 30, 2020 at 2:55 pm #79040jakariaahmed118477ParticipantActually, i need to set 720*1280 pixel size photo on thumbnail perfectly. Is it possible?
July 4, 2020 at 7:15 am #79158Theme Horse Support TeamKeymasterOk we have managed to show as per your required ratio that gets approximately fit for 1280px * 720px.
Please go to ‘Appearance > Customize > Additional CSS’ and paste the below Custom CSS Code.
.post-img-wrap:before, .page-single-img-wrap:before, .site-footer .newscard-widget-horizontal-vertical-posts .post-boxed.main-post .post-img-wrap:before { padding-top: 56%; } .featured-section .featured-slider .post-block .post-img-wrap:before { padding-top: calc(56% + 4px); } @media (max-width: 1199px) { .featured-section .featured-slider .post-block .post-img-wrap:before { padding-top: calc(80%); } } @media (max-width: 991px) { .featured-section .featured-slider .post-block .post-img-wrap:before, .featured-style-2 .featured-slider .post-block .post-img-wrap:before { padding-top: 56%; } } @media (max-width: 575px) { .featured-section .featured-post .post-img-wrap:before, .featured-style-2 .featured-post .post-img-wrap:before { padding-top: 56%; } }
Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.