By Bettina%20K. Lechner on Saturday, 20 August 2016
Posted in General Issues
Likes 0
Views 395
Votes 0
Hi there!

(I know it's weekend, so take your time!
We have two different profile types on our ES site. One is "client", other is "coach". Do you have any idea how I can change the style of the coaches profiles per default? I'd like to change the background-color of the header or asign a default-header picture just for them. Any suggestion will be very appreciated! Thank you! Tina
Hello,

This is what I would suggest you to do:

1. Edit the theme file /components/com_easysocial/themes/wireframe/profile/default.php and at line 14, edit the codes below,


<div class="es-profile userProfile" data-id="<?php echo $user->id;?>" data-profile>


Change it to,


<div class="es-profile userProfile profile-type-<?php echo $user->getProfile()->id;?>" data-id="<?php echo $user->id;?>" data-profile>


Then, inspect the wrapper and you can have different wrapper on the profile page as you want and style it using css
·
Saturday, 20 August 2016 15:39
·
0 Likes
·
0 Votes
·
0 Comments
·
THANK YOU so much!! Worked like charme!
·
Thursday, 25 August 2016 21:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Thursday, 25 August 2016 21:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post