Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove paragraph tags from xprofile field links


  • InHouse
    Member

    @inhouse

    Hi, I’m in the middle of customizing the single profile view and can’t figure out why any hyperlink is wrapped in with paragraph tags while non-links are not. It’s making the profiles look messy.

    Name, Address, Phone all look great, but email and website are generated with paragraph tags separating them from the previous paragraph for some reason.

    Name
    Address
    Phone
    Email
    Website

    I don’t see a way to edit this in `members/single/profile/profile-loop.php`. Can anyone shine light on this? Running WP 3.3.1 and BP 1.5.2. I’ve tried searching on this site but the search function isn’t working. Thanks!

Viewing 1 replies (of 1 total)

  • InHouse
    Member

    @inhouse

    I still don’t have a good solution to this. I did however add some styling to member-header.php that will only apply to my single member profile pages. This removes the top and bottom margin for the automatically generated paragraph tags for hyperlinks. This to me is a hack but it’s all I can muster without help. If anyone has any other insight, I’d love to hear.

    `
    <!–
    p, a {
    margin: 0!important;
    }
    –>
    `

Viewing 1 replies (of 1 total)
  • The topic ‘Remove paragraph tags from xprofile field links’ is closed to new replies.
Skip to toolbar