WebSite X5Help Center

 
Gökhan Uçar
Gökhan Uçar
User

Echo user color change  en

Author: Gökhan Uçar
Visited 1135, Followers 1, Shared 0  

hi everybody 

I hope you can help . when a visitor becomes a member of the site calling the visitor's name and surname. So far everything is normal.

I am using the code below 

  <?php
$pa = new imPrivateArea();
$user = $pa->who_is_logged();
echo $user['realname']
?>

my question is ; how can i change the color and size of the visitor name

thank you for your helping

Posted on the
1 ANSWERS - 1 USEFUL - 1 CORRECT
Paul M.
Paul M.
Moderator

Hello Gökhan,

The displayed visitor name will share the same Text Properties as set in Step 2 Template > Template Settings > Text, Field and Button Style > Page Item > Page Text

If you want the visitor name to be displayed in a different colour and font size to ordinary Page Text then you could use additional code.  If you wish to do this and can provide a link to the page online then we can help you further.

Kind regards,

Paul

Search the WebSite X5 Help Center

Read more
Posted on the from Paul M.