From de775610302986b7c4d3dfbced74bf1205a092ef Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Fri, 5 Jul 2019 12:48:09 +0000 Subject: - Bildergalerie "Standard2" git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7476 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/css/frontend.css | 9 ++++++ views/produkttemplates/standard2.phtml | 51 +++++++++++++++++++--------------- 2 files changed, 37 insertions(+), 23 deletions(-) diff --git a/views/css/frontend.css b/views/css/frontend.css index e5c48d1..9d91e06 100644 --- a/views/css/frontend.css +++ b/views/css/frontend.css @@ -535,3 +535,12 @@ input.wpsg_error { border-color:red !important; } #TB_caption { height: 50px !important; } #TB_secondLine { font-size: 14px !important; } +.wpsg_produkt_wrapper2 .wpsg_gallery_wrap ul { width:490px; padding:0; margin:0; display:flex; flex-direction:row; flex-wrap:wrap; justify-content:space-between; } +.wpsg_produkt_wrapper2 .wpsg_gallery_wrap ul li { list-style:none; padding:0; margin:0; width:100px; height:100px; margin-bottom:30px; } +.wpsg_produkt_wrapper2 .wpsg_gallery_wrap ul li > div { width:100%; height:100%; cursor:pointer; } +.wpsg_produkt_wrapper2 .wpsg_gallery_wrap ul li > div > img { width:100%; height:100%; object-fit:cover; object-position:center center; } +.wpsg_produkt_wrapper2 .wpsg_produkt_produktbilder img { width:230px; height:230px; object-fit:cover; object-position:50% 50%; max-width:none; } +.wpsg_produkt_wrapper2 .wpsg_produkt_produktbilder { width:260px; max-width:260px; } +.wpsg_produkt_wrapper2 .wpsg_productimages { margin-right:0px !important; } +.wpsg_produkt_wrapper2 .bigimg img { margin-bottom:15px; } + \ No newline at end of file diff --git a/views/produkttemplates/standard2.phtml b/views/produkttemplates/standard2.phtml index b9223d2..d695eba 100644 --- a/views/produkttemplates/standard2.phtml +++ b/views/produkttemplates/standard2.phtml @@ -12,7 +12,7 @@ ?> -
+
+ + \ No newline at end of file -- cgit v1.2.3