Tagged: x
-
AuthorPosts
-
May 25, 2016 at 1:40 pm #1009599
leverpunchParticipantHi,
I am creating a 6-column row with the following elements
Icon – Text – Icon – Text – Icon – Text (see attached screenshot).
How can I align all the elements vertically & horizontally center – “Body Text” too although it is left aligned as a text element.
Please advise.
Thanks!
AlvinMay 25, 2016 at 1:41 pm #1009601
leverpunchParticipantThis reply has been marked as private.May 25, 2016 at 5:46 pm #1009907
JadeModeratorHi Alvin,
Is there a reason why you added an inline CSS to set the text to be aligned left when you want it centered? Because the easy way to center the text contents would be adding a text-align: center inline style to the elements.
May 25, 2016 at 9:00 pm #1010257
leverpunchParticipantHi Jade,
I think my previous developer messed it up.
I can remove the left alignment. How should I proceed to ensure everything is aligned centrally? By simply adding “text-align: center;” to all the elements? Do I have to adjust the settings of the row or columns?
Please advise.
AlvinMay 25, 2016 at 10:52 pm #1010399
DarshanaModeratorHi there,
You can remove inline CSS and then add the class
center-textinto your Columns or elements.Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1009599 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
