Tagged: x
-
AuthorPosts
-
May 2, 2016 at 9:57 am #909192
RoPadelParticipantI’m using WordPress 4.5.1 with X version 4.4.2 with the Integrity stack in a development environment. On the gallery page http://www.ascendant-technologies.com/at_wp/gallery/ I have set up a WordPress native gallery, something I’ve done many times before in non-X sites. However, I cannot get the captions to work satisfactorily. Some of these images have long captions – I can do nothing about that – and left without any styling from me, the gallery items stretch to the width of the caption, rather than the caption wrapping. To fix this, I tried adding the CSS .wp-caption-text {max-width: 150px;} which appeared to do the trick. I hadn’t even got as far as finding out whether this would have any negative effects on the responsive nature of the gallery, but now at full width, the wrapped caption sticks below the others and is forcing the row below to display oddly.
I tried reverting to a WordPress default theme and it doesn’t happen. Can you tell me what may be different about the styling X applies that would cause this to happen?
Thank you
May 2, 2016 at 11:35 am #909362
ThaiModeratorHi There,
Please add the following CSS under Customizer > Custom > Global CSS:
.gallery .gallery-item { min-height: 200px; }Hope it helps 🙂
May 2, 2016 at 1:33 pm #909556
RoPadelParticipantIt does – thank you 🙂
May 2, 2016 at 6:49 pm #909955
JadeModeratorYou’re welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-909192 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
