BuddyDev

Search

[Resolved] HTML and CSS in Custom Profile Tabs?

  • Participant
    Level: Initiated
    Posts: 1
    Scott McCulloch on #52938

    Using Custom Profile Tabs with BuddyBoss Platform Pro v. 2.5.7.0, BuddyBoss Theme v. 2.6.5.0, on WordPress v. 6.6.1

    I’m trying to put html/css in a custom profile tab, and while it ends up showing correctly in the “Visual” editor after I add it in the “Text” editor, on the front-end the html is actually being displayed rather than rendered.

    Here’s what I’m tying to accomplish:

    <div style="width: 65%; float: left;">left content</div>
    <div style="width: 30%; float: right;">right content</div>

    But it’s just displaying exactly like that on the front end.

    Is there a way to fix this?

  • Participant
    Level: Initiated
    Posts: 1
    Scott McCulloch on #52939

    I hadn’t inspected the rendered code on the front end… it turns out there were some added <p> tags that appears to have been the culprit.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #52941

    Hello Scott,

    Welcome to the BuddyDev forums.

    Thank you for the acknowledgement. I am glad that you fix it on your own.

    Regards
    Ravi

The topic ‘ [Resolved] HTML and CSS in Custom Profile Tabs?’ is closed to new replies.

This topic is: resolved