Topic-icon Profile Picture Alignment

Active Subscriptions:

None
10 years 7 months ago - 10 years 7 months ago #36618 by jornis
As you can see in the picture attachment, the profile picture default alignment is left. I am wondering how I can change the alignment to right. Also, how can I make it so when you click on the profile picture it doesn't open a new window, but instead stay in the same window.
File Attachment:
Last edit: 10 years 7 months ago by jornis.
The topic has been locked.
Support Specialist
10 years 7 months ago #36675 by alzander
Replied by alzander on topic Profile Picture Alignment
To open in the same window, you'd need to modify the /modules/mod_sclogin/helper.php file in the following line:
$html = '<a target="_BLANK" href="' . $profileURL . '">' . $html . '</a>';
Just remove the target="_BLANK" portion. I added an issue to make only external URLs (to Facebook, Google, Twitter, LinkedIn) open in new windows. On-site links should stay on-page.

For the avatar image, it looks like we don't have a good style around that image. However, the following in your CSS should do the trick:
.sclogin img {float:right}
Try that and let me know how it goes, or if you run into anything else.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago - 10 years 7 months ago #37012 by jornis
Replied by jornis on topic Profile Picture Alignment
Thanks!
Last edit: 10 years 7 months ago by jornis.
The topic has been locked.