Difference between 2 sites

HDcms@gmx.fr , October 15 2020, 16:42
H
HDcms@gmx.fr 17
October 15 2020, 16:42 #82
Hello Marco
I am very satisfied with the result on https://www.clibre.eu/fr/logiciels-libres
I copied the module settings, the format of econa (which is the same) and checked the css but the thumbnails of the books are too small!Is it because the image is vertical while that on the 1st site the images are horizontal?A tip to enlarge the image which is reduced by?!
https://www.alterweb.info/fr/livres
Regards
M
marco 84
October 17 2020, 08:56 #83
 1
 Answer
Hi Hervé
I assume that the images should each have 100% width (see screenshot). Your CSS rule in the file "communs_alterweb.info.css" in line 35 is the reason for this.
Original:
margin-top: 10px;
margin-left: auto;
margin-right: auto;
max-height: 200px;
max-width: auto;
So that the images have 100% width create a new CSS rule to override the statement:
.nx-extensions .econaImage img {
width:100%;
max-height:none;
}
Screenshot of the result:
applied_css.jpg
Attachments
applied_css.jpg
(335.79 KiB)
6 Downloads/Views
H
HDcms@gmx.fr 17
October 19 2020, 13:06 #84
Hello Marco
Great, thank you :-)
I quickly copied the previous code !