I am building a theme for my Drupal 8 site and I want to create a custom profile page with user information like this: http://bootsnipp.com/snippets/featured/profile-card but I can't find the correct template to override where I can have access to all the information needed like username, name, picture and for example his address. Also I can't find where is the user-edit form to change the HTML so I can display it as I want.
I am new to Drupal 8 theming and that's why my question may look kind of no sense. Thank you
EDIT (add more information)
So, I want to make my user's profile edit page to a two column layout where I can have the user base information like name and picture on left and on the right having the form to change the rest of the information like user and password. What is the best way to achieve that?
hook_form_alter()
will probably be your starting pointhook_form_alter()
, change the#weight
s of elements so they're coming out in the desired order, then add'#prefix' => '<div class="col-md-6">'
to the 2 elements that should appear first in their respective columns, and'#suffix' => '</div>'
to the 2 elements that close each column. You might need further wrappers on the very first and very last elements too (e.g. with a class of "row" if your CSS needs it), those can just go in the first and last elements'#prefix
and#suffix