How do you change the image dimension of the image inside the container?
I want to change the image height proportionally to 3/4
This topic has 4 replies, 2 voices, and was last updated 1 weeks, 4 days ago ago by Alex Carter
How do you change the image dimension of the image inside the container?
I want to change the image height proportionally to 3/4
Hello,
Thank you for reaching out to us.
There are a few ways:
– Prepare the image using an image editor before uploading it to the website;
– Custom CSS code for image element:
selector {
aspect-ratio: 4 / 3;
width: 100%;
object-fit: cover;
}
– edit settings of the image element https://prnt.sc/fQNjqQX-U4aQ
We hope this information is helpful.
Best Regards,
8Theme’s Team
how much ppi to be used in this website
Hello,
Thank you for reaching out to us.
The recommended PPI (pixels per inch) for web design is typically 72 PPI, as this is the standard resolution for most screens and ensures optimal performance and loading speed. However, modern high-resolution displays (such as Retina screens) may benefit from using images at 144 PPI or higher to maintain visual clarity. In such cases, we suggest using higher-resolution images and scaling them appropriately with CSS to ensure both quality and performance.
If you have any specific requirements or further questions, please feel free to let us know.
Best Regards,
8Theme’s Team
You must be logged in to reply to this topic.Log in/Sign up