Tagged: x
-
AuthorPosts
-
September 2, 2016 at 10:39 pm #1159354
yhshin1020ParticipantHey,
I have a content band with a class of “openinghr” and I want to vertically align the text inside it.
I have been using
.openinghr{ display: flex; align-items: center; justify-content: center; }to align vertically, and it works on other pages.
However, it just doesnt seem to work on one particular page.
Another problem i’m seeing is that I have two content bands with the exactly same set up (more details are below) but the texts are aligned differently.
I am so frustrated with this issue.
Thank you.
September 2, 2016 at 10:44 pm #1159363
yhshin1020ParticipantThis reply has been marked as private.September 3, 2016 at 12:04 am #1159403
FriechModeratorHi There,
Thanks for writing in! You can add this under Custom > CSS in the Customizer.
.openinghr .x-1-3 { padding-left: 3%; }No, those content band where not setup the same. You have added a padding to the contactus while nothing on the openinghr.
Hope it helps, Cheers!
September 3, 2016 at 3:04 am #1159504
yhshin1020ParticipantHey,
I got that sorted now, but why isnt flex working?
I want to center the text in the second content band vertically.
Thanks.
September 3, 2016 at 3:29 am #1159518
Rue NelModeratorHello There,
Thanks for the updates. To resolve your issue, please find and update your code by using this instead;
#columncontact { padding-left: 6%; vertical-align: middle; }And by the way, I noticed that you are using ID. Please take note that ID should be unique. What you have done is invalid and incorrect. Your should be using class instead.
Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1159354 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
