Skip to:
Content
Pages
Categories
Search
Top
Bottom

Twenty Seventeen Profile Page In Two Columns into single column?


  • coolhunt
    Participant

    @coolhunt

    Hey Guys,

    Im on the newest install of WP & BP and im using the twenty seventeen theme.

    The Problem:
    The members profile – profile fields are displayed in a TWO COLUMN table. However, I would like to have this displayed so that its just a SINGLE COLUMN.

    The profile “field names” are on the left and the user entries to that “field” are on the right. – How can I get it so thats its just a single columm?

    Where do I need to start modifying this?

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

  • coolhunt
    Participant

    @coolhunt

    <table class="profile-fields">
    
    					<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
    						<?php if ( bp_field_has_data() ) : ?>
    
    							<tr<?php bp_field_css_class(); ?>>
    
    								<td class="label"><?php bp_the_profile_field_name(); ?></td>
    
    								<td class="data"><?php bp_the_profile_field_value(); ?></td>
    
    							</tr>
    

    I found this at bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php

    I have no idea about HTML.. any tips?


    coolhunt
    Participant

    @coolhunt

    Oooh… this was an easy way to get it to be “ROWS”

    td {
      display: table-row;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar