From 7efe034109f6bd0665a1ac84aa0be0fd88eaabec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 11 Jun 2017 06:31:07 +0200 Subject: [PATCH] fix some slider items adding a second row --- plonetheme/pfbweb/static/css/pfbweb.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/plonetheme/pfbweb/static/css/pfbweb.css b/plonetheme/pfbweb/static/css/pfbweb.css index ee81455..a12828c 100644 --- a/plonetheme/pfbweb/static/css/pfbweb.css +++ b/plonetheme/pfbweb/static/css/pfbweb.css @@ -391,8 +391,13 @@ body.section-accueil .nav { } #home-first-part .slider_caption p a { + position: absolute; + right: 1ex; color: white; - float: right; +} + +#slider li.slide { + position: relative; } #realcontent{ @@ -3876,3 +3881,11 @@ hr { body[class~="template-tabellio.pfbviews.homenews"] form div#formfield-form-widgets-text { display: none; } + +#home-first-part .slider_caption p span { + max-width: 70%; + display: inline-block; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +}