Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1009599
    leverpunch
    Participant

    Hi,

    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!
    Alvin

    #1009601
    leverpunch
    Participant
    This reply has been marked as private.
    #1009907
    Jade
    Moderator

    Hi 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.

    #1010257
    leverpunch
    Participant

    Hi 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.
    Alvin

    #1010399
    Darshana
    Moderator

    Hi there,

    You can remove inline CSS and then add the class center-text into your Columns or elements.

    Hope that helps.

  • <script> jQuery(function($){ $("#no-reply-1009599 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>