Skip to:

BP Multiline Text Box Alignment

  • rexormunde


    WordPress: 4.9.1
    BuddyPress: 2.9.2
    Theme(s) tested: Avant (Primary), Twenty Sixteen

    The problem I’m experiencing is with BuddyPress’ Muiltiline Text Box element. Specifically inside the editor where you would add content. Currently my community and I have noticed that if we try to center text with the element’s alignment functions, the preview shows the alignment in both the visual and text tabs. However, as soon as we save the element, those alignments disappear. This does not happen in our WordPress news posts. You can see an example of this situation here:

    Where it says “testing this section”, that was set to be centered in the Multiline Text Box element. As you can see, it’s not centered. Inspect the element with Google Chrome, and you’ll see no signs of any alignments on the paragraph.

    I’m not sure if this is a bug or if I’m doing something wrong. Any advice would be appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)

  • leog371


    Its adding breaks between the words. Here is the output of your text.


    So basically its breaking a new line for every word. Are you adding <br> between the words?



    I did notice that every word is capitalized here, There could be a hook or filter doing that. try typing it in with out all the caps. It should be displaying like this.

    <p> testing this section</p>



    Wow I’m late on getting back to this. The issue is still ongoing. Nothing aligns in the multiline text box element in user profiles. I noticed that when centering in the “Visual” tab, and then going to the “Text” tab, I can see the HTML code that would center the text. After saving, that HTML code vanishes. It doesn’t seem to get saved or applied to the page, like it’s being stripped away.

    WordPress: 4.9.4
    BuddyPress: 2.9.3
    Theme(s) tested: Avant (Primary)

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar