Hi there,

If you just want to change the layout to two/three columns, you no need to care about the template.php or profile_listing.tpl.php files. Just add this to your style.css file in your theme :

#profile .profile {
  width: 45%;
  margin-right: 10px;
  float: left;
  clear: none;
  margin-bottom: 0px;
  _word-wrap: break-word;
  border: 1px solid #7F98A7;
  margin-bottom: 1em;
  _position: relative; /* avoid IE peekaboo bug */
}

Note:

  • The "width: 45%", "clear: none" and "float: left" settings make it from one column to two
  • Set width to 30% to get three columns
  • Don't forget to remove the conflict profile css settings from the drupal/themes/your_theme_folder/style.css file first, especially the "clear: both" setting

Comments

Northern_Girl’s picture

How do you target one specific profile type, and how do you send, in the second column, one specific field?

Thanks.

Drupal in the snow