*

Own Petz

  • ****
  • 170 posts
  • OwnPetz - Free Classified Ads. Buy, Sell or Adopt
How to Show Article Image to Fix in Category in Small Size
« on: August 30, 2024, 10:19:33 AM »
Hello,

Is this possible to show article image in small size when visiting Blog, for example if I have written a article with image size (1250 x 800 Pixel) and saved. After that when we click on Blog then that article image showing half of original image.

Is this possible to show full image here (in Screenshot).

may be I am not trying to explain but you can understand by Screenshot... I have added one Screenshot and that image not showing correctly here, while when I open article then Image showing correct.


If this is possible to fix, then please help me to solve this issue.

 
OwnPetz - Free Classified Ads. Buy, Sell or Adopt Online. https://ownpetz.com

*

Own Petz

  • ****
  • 170 posts
  • OwnPetz - Free Classified Ads. Buy, Sell or Adopt
Re: How to Show Article Image to Fix in Category in Small Size
« Reply #1 on: September 01, 2024, 09:52:33 AM »
Waiting for reply....
OwnPetz - Free Classified Ads. Buy, Sell or Adopt Online. https://ownpetz.com

*

MB Themes

Re: How to Show Article Image to Fix in Category in Small Size
« Reply #2 on: September 02, 2024, 01:58:26 PM »
Image here will try to somehow fit screen.
Using code in way:
Code: [Select]
.blog-box>a>img {
    object-fit: cover;
...

object-fit property set how to cover visible area.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Own Petz

  • ****
  • 170 posts
  • OwnPetz - Free Classified Ads. Buy, Sell or Adopt
Re: How to Show Article Image to Fix in Category in Small Size
« Reply #3 on: September 03, 2024, 09:59:42 AM »
Thanks for Reply.

But where I have to paste or edit this code? in Which file and location?

Thanks.



OwnPetz - Free Classified Ads. Buy, Sell or Adopt Online. https://ownpetz.com

*

MB Themes

Re: How to Show Article Image to Fix in Category in Small Size
« Reply #4 on: September 03, 2024, 09:43:54 PM »
There is article in docs about basic customization.
You write own css that override default rules.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots