Hallo zusammen, kann mir bitte jemand helfen: Ich möchte das Bild in der Produktliste oberhalb des Footers auf die Größe 250x250 anpassen und den mouseover entfernen. https://www.bowling-store.de/ Die Klasse heißt productlist6mvkbw43x
Hi, über Dev-Tool kurz rausgeschnibbelt, nicht auf Nebenwirkungen geprüft: Bildgröße 250px: .productlist-viewmode-grid .product-container .product-tile figure .product-image img, .productlist-swiper .product-container .product-tile figure .product-image img, .product-container.flyover .product-tile figure .product-image img { height: auto; max-height: 250px; max-width: 100%; } Hover aus: (Dann ist die Funktion aber grundsätzlich aus und funzt in keinem Product Container mehr. .product-container.flyover { display: none; }
Guten Morgen und vielen Dank für eure Antworten. @O.C. der Ansatz ist gut, aber wie @Devil schon richtig festgestellt hat geht es ja nur um genau das eine Bild. @barbara, auch danke für Deinen Tipp, nur fehlt mir dann das random beworbene neue Produkt.
Teilerfolg: ich habe die Klasse angesprochen und die Textfarbe auf rot verändert. Allerdings an der Bildgröße ändert sich nichts... Code: #productlist6mvkbw43x, #productlist6mvkbw43x-1981_img.image { height: auto; max-height: 250px; max-width: 100%; color: red; }
Wenns dir nur darum geht das mittlere Bild auf 250Px zu begrenzen dann würde ich das so probieren: Ist aber sehr dirty Code: .swiper-slide[data-index="productlist6mvkbw43x-1982"] { width: 100%!important; } .productlist-viewmode-grid .product-container .product-tile figure#productlist6mvkbw43x-1982_img .product-image img { height: auto; width: auto; max-height: 250px; display: block; margin: 0 auto; } /* Hide Hover */ .swiper-slide[data-index="productlist6mvkbw43x-1982"]:hover { opacity: 0; }