Tagged: x
-
AuthorPosts
-
November 19, 2016 at 7:02 am #1263563
yhshin1020ParticipantHey,
I want to vertically center certain elements within a content band in Visual Composer while not others.
I have managed to center all elements vertically using this css (note that the content band has class content3):
.content3{ background-size: cover; background-attachment: scroll; background-position: center center; background-image: url(http://www.guidedogssg.com/wp-content/uploads/2016/11/om-version5.jpg); display: flex; align-items: center; padding: 0 !important; justify-content: center; height: 100vh; }However this vertically centers everything.
How can I center the text “Programmes” and “Orientation&Mobility” while keeping the scrolling animation div (in raw content element) at the bottom of the div using (possibly):
vertical-align: bottom;
So something like this:http://imgur.com/a/KVgaS
Thanks.
November 19, 2016 at 7:03 am #1263564
yhshin1020ParticipantThis reply has been marked as private.November 19, 2016 at 5:39 pm #1263832
Rue NelModeratorHello There,
Thanks for writing in! I have checked your site and it appears that you added a custom css to position the scrolling animation div. Please have the code updated and use this instead:
.demotest { position: absolute; bottom: -150%; top: auto; left: 50%; }Hope this helps. Kindly let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1263563 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
