Skip to main content

#55 Display not working properly after upgrade to J4

Posted in ‘NorrCompetition’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information (available for public)

PHP version
8.0

Latest post by sulpher on Thursday, 25 May 2023 23:24 EEST

guildofe

Please examine important information regarding our working hours and our support policy at the bottom of this page (under Support Policy Summary). To insert image, please use external image hosting like https://postimages.org/ and just paste image URL to your message above. Thank you!

Hi - We recently upgraded to J4 and are having some issues with the display of entries - particularly on mobile. We have version 2.0.1 of NorrCompetion and a J4 version of the entries module. The J4 site is at https://guildofenamellers.org/index.php/the-guild/gallery and the old J3 site is at https://guildofe-test.org/index.php/the-guild/gallery Comparing the layout on these two pages (I am sorry - the photos are not the same) you can see that the images are cropped in an odd way in the J4 version. I have the J3 display option (theme?) set to default, and the only option I get in the J4 version is default. I expect this is something I've missed somewhere in the upgrade - any suggestions would be appreciated. Zoë

b2z
Hi Zoe!

There is a CSS rule that is missing for img element:

img {
max-width: 100%;
height: auto;
}

So to fix the display of images add this code to your custom.css file of the template.

This code was present in our old default theme. Now we are using the default theme based on UIKit and it does not have this piece of code and rely on the templates.

Best regards,
Dmitrijs

guildofe
Hi Dmitrijs
Brilliant - that fixed it - thank you so much!
Zoë

b2z
Hi Zoe,

We will add this CSS rule also to our CSS custom file as we can see that not all templates have it.

P.S.
If you are happy with our support and product, we would be grateful if you took the time for a small review or just a vote on Trustpilot.
https://www.trustpilot.com/review/norrnext.com

Kind regards,
Dmitrijs

sulpher
Hi Zoe,

Thank you so much for your review at TrustPilot. A good to see client's feedback.
I am closing this topic.

Have a good day.
Support information

Support hours: You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+3), but not limited. Our staff is pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days.


Our time: / Your time:

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. We also ask you to remove temporary credentials at your site after the problem is resolved. Thank you.

Support of free extensions is not provided on this forum. Please submit your questions or report issues via Github tracker. See link on the product page.