Image Size - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Image Size

S

soypia

Template 3 years ago

I have newsberg theme. However no matter which dimmension i set on helix. It does not work. I have uplodaded a 1920*1080 image, and on article detail page it does not work as it should. I have set large image as view. No changes at all. Kindly please check. I would like to have it same width as the text below the image.

0
6 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #55686

Hi there!

Thanks for your query.

The template set the max width value for a good view of the layout in a larger screens. Here is the related CSS: https://prnt.sc/26o434k

So, you can use the following code in your custom CSS:

.view-article .article-details .newsberg-details-img-wrapper .article-full-image {
    max-width: 100%;
}

This will give you fulwidth image.

Best Regards

0
J
joe
Accepted Answer
3 years ago #55703

Genrally, you want to avoid making the image 100 percent.

Why?

On mobile, the image will be very wide and short making it unreadable to the average person.

Bascially, not mobile friendly.

0
Pavel
Pavel
Accepted Answer
3 years ago #55709

Genrally, you want to avoid making the image 100 percent.

Why?

For a person, a comfortable width of viewing and reading an article is no more than 900px. You can verify that by observing your own comfort with different reading width.

It would be worth it to reduce the width of the text in your articles if you take care of users and the quality of your site.

Joomshaper Blog is good example width of article.

0
S
soypia
Accepted Answer
3 years ago #55965

So what about responsive? If image is 100%, it will not be so bad if it is responsive. Right?

0
Pavel
Pavel
Accepted Answer
3 years ago #55986

Max-width does not prohibit the image of being 100% width on smaller screen sizes than max-width value

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #56169

Thanks Pavel for your explanation...

0