Site logo

Archived topic

Is my table design theme related?

9 replies · Started by Carsten on August 8, 2019

Viewing posts 1–10 of 10

H there, I have a table of user information, x-profile fields, in a number of rows, in two columns.

https://imgur.com/5TMmY89

I would like to gather the two rows, td.label and td.data into one column.

I got this answer from a developer, which is why I contact you.

The display is controlled by the theme. You will need to edit theme templates(or BuddyPress template pack templates) to achieve it.
My suggestion will be to contact the theme author as ask on how to modify the profile field loop

Is this theme related, or should I look into BuddyPress to achieve it?

Thanks in advance

Carsten

Hi there,

Your site requires a password to view. Any chance you can unlock it or provide the password?

Let me know :)

sure

front pass: dev

user: generatepress
pass: generatepress

Where can I see the table in your site?

Hi Leo, take a look at the generatepress profile information now to se the table, especially group5 with the profile text I would like to see in one column.

Regards
Carsten

Hi there,

its how BuddyPress lays out the HTML for the tables. Should really direct the question to them to see if there is a way of changing this.

If not then this CSS could do the trick:

#buddypress table.profile-fields tr {
    display: flex;
    flex-wrap: wrap;
}

#buddypress table.profile-fields tr > td {
    flex: 1 0 100%;
}

Hi David, thanks a lot for sharing this code, even it's a BP matter.
As I wrote in my first post, a developer suggested that it could be theme related, which I then wanted to role out first.

Thanks again, you have been most helpful

Regards
Carste

You're welcome - glad we could be of help.

The code works very well, thanks again!

Awesome - glad to hear that.

This archived topic is closed to new replies.