Tagged: x
-
AuthorPosts
-
July 10, 2016 at 11:21 am #1080300
jdfrizzellParticipantHello,
I have a number of sponsor images that I would like to each have centered within their respective rows and columns so that they look more even.
My page is:
acappellaeducators.comIt is almost to the bottom of the page where this occurs.
Thanks!July 10, 2016 at 11:38 am #1080306
ThaiModeratorHi There,
Please add the following CSS under Customizer > Custom > Global CSS:
.home #x-section-6 .x-column.x-sm.x-1-4 { white-space: nowrap; height: 150px; } .home #x-section-6 .x-column.x-sm.x-1-4:before { display: inline-block; height: 100%; vertical-align: middle; content: ""; } .home #x-section-6 .x-column .x-img { margin-bottom: 0; vertical-align: middle; max-height: 145px; }Hope it helps 🙂
July 10, 2016 at 1:00 pm #1080362
jdfrizzellParticipantPerfect, thank you!
July 10, 2016 at 8:45 pm #1080683
Rue NelModeratorYou are most welcome!
July 14, 2016 at 10:20 am #1086935
jdfrizzellParticipantHi!
So this worked to horizontally align the images, but not vertically. Is there a way to do that?
Also, it makes the top row of logos disappear on mobile for some reason.
Thanks,
JDJuly 14, 2016 at 12:26 pm #1087122
JoaoModeratorHi There
Update this:
.home #x-section-6 .x-column.x-sm.x-1-4 { white-space: nowrap; height: 150px; }to this
.home #x-section-6 .x-column.x-sm.x-1-4 { white-space: nowrap; height: 150px; text-align: center; }Hope that helps
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1080300 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
