From d23a83e963f1eb0ab83531e9d6cd7f1195aa37c4 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Fri, 21 Oct 2022 13:07:38 +0200 Subject: [PATCH] modified the styling of the wordpress gallery items to make them fit in content area --- style.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/style.css b/style.css index db94833..6ab86c9 100644 --- a/style.css +++ b/style.css @@ -1135,13 +1135,13 @@ form#commentform p.form-submit input#submit { } .gallery .gallery-item { float: left; - margin: 10px 5px 0px 5px; +/* margin: 10px 5px 0px 5px;*/ text-align: center; - width: 31%!important; +/* width: 31%!important;*/ vertical-align: top; } .gallery img { - border: 2px solid #D2D2DF!important; +/* border: 2px solid #D2D2DF!important;*/ } .gallery .gallery-caption { margin-left: 0; @@ -1149,8 +1149,9 @@ form#commentform p.form-submit input#submit { font-family:var(--sherif-font-family); font-size: var(--hangar-body-font-size); font-style: italic; - line-height: 16px; color: #03F; - display: block!important; + line-height: 16px; + color: #03F; + display: inline-block /*block!important*/; } /* Footer