Anomaly encountered for the Fit Image Option of Image Layouts Settings - Forum | JoomShaper
Staff replied SP Page Builder

Anomaly encountered for the Fit Image Option of Image Layouts Settings

Asked by Forrest FONG 3 years ago Last activity 3 years ago

Problem 1

Hi, I have disabled the "Fit Image" option of Image Layout Setting but it still keep the photo fitting to the column width.

A Custom CSS is applied to limit the height of the photo.
.sppb-img-responsive { max-height: 450px; }

It is normal or working in the edit mode but not in the actual website.


https://cms.hkbws.org.hk/avifauna/species/0250/033000

However, it is found working on the article below -

https://cms.hkbws.org.hk/avifauna/blog/0033000-amur-paradise-flycatcher-2

Problem 2

For the same article, it is unable to show the title of the image (Image Settings).
It is showing in the edit mode but not in the actual website.

A Custom CSS is applied to limit the width of the photo.

Joomla Version 4.2.9

SP Page Builder Pro Version 4.0.10

Shaper Helixultimate Template 2.0.12

11 replies

Forrest FONG Asked this

Hi, just solved the problem 1 by adding width: 100% in the custom as follows -

.sppb-img-responsive { max-height: 450px; width: 100%}

Is there any other way to solve it more smartly?

Joomsharper, please help to resolve the problem 2 as well. Thanks

Forrest FONG Asked this

Hi, it is found that "width: auto" also serve the purpose. Thanks

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. Yes, you can use custom CSS for that, you can set the width like that. This is the correct way. Glad to know that you have found the solution.

-Regards.

Forrest FONG Asked this

Hi Mehtaz,

Thank you for your reply.

Can you also advise on my problem 2 regarding title missing please.

Regards,

Forrest

Mehtaz Afsana Borsha Staff

Could you please give me that specific page link?

Forrest FONG Asked this

Hi Mehtaz,

Sorry that it should been some communication problems for such a simple and direct help request.

My problem is that the title "Figure 2" is missing in the live site.


https://cms.hkbws.org.hk/avifauna/species/0250/033000

The title "Figure 2" can be seen in the edit/admin site.

The login name and password for the admin site are provided in the hidden content.

Please advise what is going wrong. Thanks

Best Regards

Mehtaz Afsana Borsha Staff

Could you please enable your right click? So that I can check?

Forrest FONG Asked this

Hi, the right click is enable now. Thanks

Log in to reply.